Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 53.37 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003176/0.2437, allocations: 1.886 MB / 433.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2455, allocations: 1.157 MB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2456, allocations: 7.938 kB / 434.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.2462, allocations: 147.5 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.2465, allocations: 167.3 kB / 435.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.247, allocations: 186.9 kB / 435.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2472, allocations: 179.5 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2473, allocations: 29.66 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2474, allocations: 79.64 kB / 435.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2476, allocations: 79.67 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2476, allocations: 8 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2477, allocations: 63.89 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.2478, allocations: 43.84 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.2478, allocations: 51.61 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.2481, allocations: 213.4 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2481, allocations: 4 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2481, allocations: 0 / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2481, allocations: 4 kB / 436.1 MB, free: 2.355 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006631/0.2488, allocations: 454.7 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2488, allocations: 12.03 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.136e-05/0.2489, allocations: 4.125 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2489, allocations: 38.75 kB / 436.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.2489, allocations: 20.8 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.2492, allocations: 217.1 kB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2493, allocations: 8.125 kB / 436.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2493, allocations: 4 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.2496, allocations: 172.4 kB / 437 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2496, allocations: 4 kB / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2496, allocations: 0 / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2496, allocations: 0 / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2497, allocations: 39.92 kB / 437.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.2502, allocations: 325.5 kB / 437.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.2504, allocations: 103.9 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.2505, allocations: 42.56 kB / 437.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2505, allocations: 4 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.2507, allocations: 83.31 kB / 437.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.2507, allocations: 0 / 437.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000354/0.251, allocations: 149.5 kB / 437.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.2511, allocations: 136.5 kB / 437.9 MB, free: 348 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.2514, allocations: 281 kB / 438.2 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2514, allocations: 29.7 kB / 438.2 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.2515, allocations: 120.1 kB / 438.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2515, allocations: 15.89 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.2516, allocations: 33.66 kB / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2517, allocations: 330.8 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.2518, allocations: 23.98 kB / 438.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2519, allocations: 125.6 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.252, allocations: 76.22 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2521, allocations: 0 / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.2523, allocations: 125.4 kB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2523, allocations: 8 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2523, allocations: 4.156 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2523, allocations: 0 / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.2524, allocations: 12 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2524, allocations: 7.875 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.2525, allocations: 15.88 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2525, allocations: 4 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001258/0.2526, allocations: 149.8 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.2527, allocations: 57.86 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2529, allocations: 123.4 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2529, allocations: 4 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2529, allocations: 11.94 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2529, allocations: 3.938 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2531, allocations: 188.6 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2531, allocations: 0 / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.2531, allocations: 11.94 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2531, allocations: 0 / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2532, allocations: 7.984 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2532, allocations: 4 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2532, allocations: 3.938 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2534, allocations: 162.6 kB / 439.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.2535, allocations: 39.77 kB / 439.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.2535, allocations: 4 kB / 439.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.2536, allocations: 4 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2536, allocations: 11.92 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2536, allocations: 8 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.2538, allocations: 200.5 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2538, allocations: 0 / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.2541, allocations: 28 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00196/0.256, allocations: 1.039 MB / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2562, allocations: 75.83 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2562, allocations: 0 / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.2563, allocations: 27.98 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.2567, allocations: 64.61 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2589, allocations: 1.976 MB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.259, allocations: 115.5 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.259, allocations: 33.61 kB / 443.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.2591, allocations: 55.34 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2591, allocations: 0 / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2854, allocations: 5.083 MB / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.92, allocations: 11.62 kB / 448.6 MB, free: 5.617 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.317523394944146] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.12874540395569 11.14637587 10.894798883 Calling exit ...