Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 371.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2293, allocations: 52.18 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002638/0.2319, allocations: 1.544 MB / 425 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.2323, allocations: 135.5 kB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.2323, allocations: 4 kB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.2324, allocations: 3.938 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2325, allocations: 3.938 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.2327, allocations: 43.83 kB / 425.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.2328, allocations: 39.86 kB / 425.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.2329, allocations: 8 kB / 425.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.2329, allocations: 15.92 kB / 425.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.2329, allocations: 11.92 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.233, allocations: 4 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.233, allocations: 4 kB / 425.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.233, allocations: 11.94 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.233, allocations: 23.81 kB / 425.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2332, allocations: 52.58 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2332, allocations: 0 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2332, allocations: 4 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2332, allocations: 0 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003915/0.2335, allocations: 298 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2336, allocations: 8.031 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.2336, allocations: 8.125 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.2336, allocations: 34.75 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.2337, allocations: 8.891 kB / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2339, allocations: 142.4 kB / 425.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.2339, allocations: 4.312 kB / 425.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2339, allocations: 4.375 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.2342, allocations: 113.3 kB / 425.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2342, allocations: 3.938 kB / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.2342, allocations: 4 kB / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2342, allocations: 0 / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.2342, allocations: 23.97 kB / 425.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.2345, allocations: 236.7 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2347, allocations: 61.14 kB / 426.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.2348, allocations: 33.77 kB / 426.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2348, allocations: 0 / 426.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2348, allocations: 34.55 kB / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2348, allocations: 0 / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002276/0.235, allocations: 77.61 kB / 426.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.2351, allocations: 81.05 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2352, allocations: 141.4 kB / 426.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2353, allocations: 25.7 kB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.2353, allocations: 84.14 kB / 426.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.2353, allocations: 7.984 kB / 426.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2353, allocations: 17.72 kB / 426.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2355, allocations: 319 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.2355, allocations: 11.98 kB / 427.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.2356, allocations: 31.42 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.2357, allocations: 55.3 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2357, allocations: 4 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.2358, allocations: 61.58 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2358, allocations: 8 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2358, allocations: 0 / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2358, allocations: 0 / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.2359, allocations: 15.92 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2359, allocations: 4.125 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.2359, allocations: 4 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.2359, allocations: 3.938 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.236, allocations: 121.8 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.2361, allocations: 49.64 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.2361, allocations: 8.344 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2361, allocations: 11.92 kB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2361, allocations: 0 / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2361, allocations: 4 kB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2363, allocations: 140.7 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2363, allocations: 4 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.2364, allocations: 7.938 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2364, allocations: 4 kB / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2364, allocations: 0 / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2364, allocations: 0 / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2364, allocations: 0 / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2365, allocations: 172.6 kB / 427.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.2366, allocations: 15.94 kB / 427.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2366, allocations: 4 kB / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.2367, allocations: 48 / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2367, allocations: 3.984 kB / 427.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2367, allocations: 4 kB / 427.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.2368, allocations: 107.2 kB / 427.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2368, allocations: 3.938 kB / 427.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.237, allocations: 16 kB / 427.9 MB, free: 9.793 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004918/0.2375, allocations: 0.6898 MB / 428.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2376, allocations: 32.05 kB / 428.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2376, allocations: 4 kB / 428.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.2376, allocations: 11.98 kB / 428.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.238, allocations: 27.23 kB / 428.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2393, allocations: 1.311 MB / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2396, allocations: 0.6993 MB / 430.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.2396, allocations: 4 kB / 430.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2397, allocations: 15.44 kB / 430.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2397, allocations: 4 kB / 430.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.261, allocations: 1.602 MB / 432.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.76, allocations: 4.062 kB / 432.3 MB, free: 5.383 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.05810659902636] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.922639116004575 10.950118489 10.711871938 Calling exit ...