Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001367/0.001367, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001494/0.001494, allocations: 215 kB / 21.45 MB, free: 1.617 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 43.94 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00394/0.1292, allocations: 1.57 MB / 428.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005353/0.1298, allocations: 139.5 kB / 428.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1299, allocations: 0 / 428.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.1299, allocations: 7.938 kB / 428.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1301, allocations: 7.922 kB / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1304, allocations: 39.86 kB / 428.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1305, allocations: 39.91 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1306, allocations: 11.98 kB / 428.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1307, allocations: 11.94 kB / 428.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.1307, allocations: 19.86 kB / 428.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1307, allocations: 4 kB / 428.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.1308, allocations: 4 kB / 428.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1308, allocations: 11.92 kB / 428.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1309, allocations: 19.88 kB / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.131, allocations: 47.69 kB / 429 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.131, allocations: 4 kB / 429 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.131, allocations: 4 kB / 429 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.131, allocations: 0 / 429 MB, free: 2.871 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005236/0.1315, allocations: 367.2 kB / 429.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1316, allocations: 8.031 kB / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.1316, allocations: 192 / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.1316, allocations: 46.67 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1316, allocations: 8.891 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.132, allocations: 192.2 kB / 429.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.132, allocations: 12.36 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.132, allocations: 384 / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1323, allocations: 121.3 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1323, allocations: 0 / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1323, allocations: 4 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1323, allocations: 0 / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1324, allocations: 23.92 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1328, allocations: 261.8 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.133, allocations: 138.2 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.1331, allocations: 25.78 kB / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1331, allocations: 7.922 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1331, allocations: 34.56 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1331, allocations: 4 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002553/0.1334, allocations: 77.56 kB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1334, allocations: 85.05 kB / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1336, allocations: 132.1 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1336, allocations: 25.7 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.1336, allocations: 88.14 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1337, allocations: 7.938 kB / 430.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1337, allocations: 17.72 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1338, allocations: 315 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.1339, allocations: 11.98 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.1339, allocations: 31.42 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.134, allocations: 51.31 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.134, allocations: 3.984 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.1342, allocations: 57.62 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1342, allocations: 10.03 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1342, allocations: 0 / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1342, allocations: 0 / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.1343, allocations: 15.98 kB / 431.1 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1343, allocations: 8.062 kB / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.1343, allocations: 7.953 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1343, allocations: 4 kB / 431.1 MB, free: 412 kB / 350.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: 0 () * 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.61e-05/0.1344, allocations: 117.8 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.1345, allocations: 45.69 kB / 431.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1345, allocations: 8.25 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1345, allocations: 7.984 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1345, allocations: 0 / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1345, allocations: 3.938 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1347, allocations: 173.5 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.1348, allocations: 4 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/0.1348, allocations: 11.94 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1348, allocations: 0 / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1348, allocations: 4 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1348, allocations: 0 / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1348, allocations: 0 / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.135, allocations: 180.2 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.1351, allocations: 89.41 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1351, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.1352, allocations: 8 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1352, allocations: 3.984 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1352, allocations: 3.984 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.1353, allocations: 103.3 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1353, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1355, allocations: 4 kB / 431.9 MB, free: 15.54 MB / 366.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: 0 () * 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.0005912/0.1361, allocations: 0.7015 MB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1363, allocations: 36.09 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1363, allocations: 4.062 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.1363, allocations: 8 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1366, allocations: 18.55 kB / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1381, allocations: 1.33 MB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1385, allocations: 0.6885 MB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.011e-05/0.1385, allocations: 0 / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.1385, allocations: 19.42 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1385, allocations: 4 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1559, allocations: 1.519 MB / 436.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.95, allocations: 8.047 kB / 436.2 MB, free: 11.17 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.652019511035178] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.071010852989275 8.228949256 7.949485712 Calling exit ...