Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001707/0.001707, allocations: 107.9 kB / 18.48 MB, free: 4.543 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.002047/0.002047, allocations: 198.6 kB / 21.43 MB, free: 1.609 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.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.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.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 51.94 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1199, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004153/0.1241, allocations: 1.919 MB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1262, allocations: 1.099 MB / 421.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.1263, allocations: 3.938 kB / 421.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.127, allocations: 159.5 kB / 421.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.1274, allocations: 115.5 kB / 421.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.1281, allocations: 210.8 kB / 422 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1284, allocations: 179.5 kB / 422.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1285, allocations: 25.67 kB / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1287, allocations: 91.56 kB / 422.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1289, allocations: 83.66 kB / 422.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1289, allocations: 12 kB / 422.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1291, allocations: 51.92 kB / 422.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.1292, allocations: 51.77 kB / 422.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1293, allocations: 75.53 kB / 422.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1297, allocations: 214.9 kB / 422.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1297, allocations: 3.984 kB / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1297, allocations: 0 / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1297, allocations: 0 / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001026/0.1308, allocations: 0.5232 MB / 423.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1308, allocations: 12.03 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.854e-05/0.1308, allocations: 4.188 kB / 423.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.1309, allocations: 38.75 kB / 423.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.1309, allocations: 20.8 kB / 423.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.1314, allocations: 282.9 kB / 423.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1314, allocations: 12.12 kB / 423.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1314, allocations: 8 kB / 423.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1318, allocations: 163.6 kB / 423.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1318, allocations: 0 / 423.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1318, allocations: 8 kB / 423.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1318, allocations: 0 / 423.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1319, allocations: 43.91 kB / 423.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.1325, allocations: 371.2 kB / 424.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1328, allocations: 138.5 kB / 424.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1329, allocations: 55.36 kB / 424.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1329, allocations: 7.938 kB / 424.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1331, allocations: 75.39 kB / 424.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.1331, allocations: 0 / 424.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004303/0.1335, allocations: 157.7 kB / 424.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1336, allocations: 166.2 kB / 424.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.134, allocations: 268.9 kB / 425.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.134, allocations: 29.7 kB / 425.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.1341, allocations: 128.3 kB / 425.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1341, allocations: 15.91 kB / 425.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.1342, allocations: 37.66 kB / 425.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1343, allocations: 330.8 kB / 425.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.1344, allocations: 23.98 kB / 425.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1345, allocations: 82.59 kB / 425.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1347, allocations: 98.16 kB / 425.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1347, allocations: 4 kB / 425.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002566/0.1349, allocations: 125.5 kB / 425.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.135, allocations: 11.98 kB / 425.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.135, allocations: 0 / 425.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.135, allocations: 4 kB / 425.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.1351, allocations: 11.94 kB / 425.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1351, allocations: 7.938 kB / 426 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.1352, allocations: 15.94 kB / 426 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1352, allocations: 4 kB / 426 MB, free: 4.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001599/0.1354, allocations: 150 kB / 426.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1355, allocations: 73.53 kB / 426.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1355, allocations: 21.72 kB / 426.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1355, allocations: 4 kB / 426.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1355, allocations: 3.938 kB / 426.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1355, allocations: 3.984 kB / 426.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1358, allocations: 225.5 kB / 426.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1358, allocations: 0 / 426.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.1358, allocations: 24.02 kB / 426.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1358, allocations: 0 / 426.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1358, allocations: 4 kB / 426.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1358, allocations: 3.938 kB / 426.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1359, allocations: 3.938 kB / 426.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1361, allocations: 175.5 kB / 426.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1363, allocations: 109 kB / 426.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1363, allocations: 3.984 kB / 426.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.1364, allocations: 11.94 kB / 426.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1364, allocations: 8 kB / 426.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1364, allocations: 11.98 kB / 426.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.1366, allocations: 196.5 kB / 427 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1366, allocations: 0 / 427 MB, free: 3.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1369, allocations: 35.92 kB / 427 MB, free: 3.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.002101/0.139, allocations: 1.033 MB / 428.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1393, allocations: 75.84 kB / 428.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1393, allocations: 0 / 428.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.1393, allocations: 23.92 kB / 428.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1398, allocations: 75.17 kB / 428.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1423, allocations: 2.024 MB / 430.2 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1427, allocations: 0.7358 MB / 431 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.234e-05/0.1428, allocations: 29.52 kB / 431 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1429, allocations: 47.42 kB / 431.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1429, allocations: 0 / 431.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.1765, allocations: 4.988 MB / 436 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.229, allocations: 7.188 kB / 436.1 MB, free: 10.62 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.847512638021726] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.41040463396348 8.594082284 8.460758938 Calling exit ...