Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.00177/0.00177, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002115/0.002115, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1415/0.1415, allocations: 23.86 MB / 333.4 MB, free: 1.207 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) 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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 72.67 kB / 466.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 59.82 MB / 0.5142 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004903/0.1139, allocations: 3.025 MB / 0.5171 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.1223, allocations: 6.319 MB / 0.5233 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.1226, allocations: 15.81 kB / 0.5233 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1232, allocations: 159.1 kB / 0.5235 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007131/0.1239, allocations: 254 kB / 0.5237 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.1263, allocations: 0.9627 MB / 0.5247 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.1271, allocations: 494.6 kB / 0.5251 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.1274, allocations: 148.4 kB / 0.5253 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.1277, allocations: 235.4 kB / 0.5255 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.1281, allocations: 251.1 kB / 0.5257 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1282, allocations: 24 kB / 0.5258 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1297, allocations: 0.5538 MB / 0.5263 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1298, allocations: 95.67 kB / 0.5264 GB, free: 424 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.13, allocations: 179.1 kB / 0.5266 GB, free: 244 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.1317, allocations: 1.039 MB / 0.5276 GB, free: 15.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1317, allocations: 0 / 0.5276 GB, free: 15.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1317, allocations: 0 / 0.5276 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1317, allocations: 8 kB / 0.5276 GB, free: 15.19 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001184/0.1329, allocations: 0.7739 MB / 0.5283 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.133, allocations: 8.031 kB / 0.5283 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.461e-05/0.133, allocations: 4.625 kB / 0.5283 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/0.1331, allocations: 54.73 kB / 0.5284 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.1337, allocations: 116.4 kB / 0.5285 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.1343, allocations: 376.1 kB / 0.5289 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1343, allocations: 20.56 kB / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.1344, allocations: 24 kB / 0.5289 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.1351, allocations: 381.8 kB / 0.5293 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1351, allocations: 3.938 kB / 0.5293 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.1351, allocations: 12 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1351, allocations: 4 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.136, allocations: 0.5437 MB / 0.5298 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1381, allocations: 1.415 MB / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.1385, allocations: 158.4 kB / 0.5314 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1387, allocations: 88.83 kB / 0.5314 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002564/0.1412, allocations: 1.896 MB / 0.5333 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1413, allocations: 34.56 kB / 0.5333 GB, free: 8.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.1413, allocations: 0 / 0.5333 GB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005292/0.1418, allocations: 225.3 kB / 0.5335 GB, free: 8.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1419, allocations: 59.34 kB / 0.5336 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.1423, allocations: 369.6 kB / 0.5339 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1423, allocations: 33.7 kB / 0.534 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1425, allocations: 231.9 kB / 0.5342 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1426, allocations: 51.59 kB / 0.5342 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1427, allocations: 69.66 kB / 0.5343 GB, free: 7.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1429, allocations: 346.8 kB / 0.5346 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.143, allocations: 55.97 kB / 0.5347 GB, free: 7.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1433, allocations: 252.8 kB / 0.5349 GB, free: 7.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.1437, allocations: 336.5 kB / 0.5353 GB, free: 6.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1437, allocations: 7.938 kB / 0.5353 GB, free: 6.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005904/0.1443, allocations: 353.4 kB / 0.5356 GB, free: 6.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1443, allocations: 8 kB / 0.5356 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1444, allocations: 4 kB / 0.5356 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.1444, allocations: 12 kB / 0.5356 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1446, allocations: 67.91 kB / 0.5357 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.1446, allocations: 19.88 kB / 0.5357 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1448, allocations: 43.66 kB / 0.5358 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.1449, allocations: 27.98 kB / 0.5358 GB, free: 6.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0002018/0.1451, allocations: 161.8 kB / 0.5359 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.1452, allocations: 35.77 kB / 0.536 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.1457, allocations: 279.5 kB / 0.5362 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1457, allocations: 0 / 0.5362 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1457, allocations: 3.938 kB / 0.5362 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1457, allocations: 0 / 0.5362 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.1465, allocations: 0.6391 MB / 0.5369 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1465, allocations: 0 / 0.5369 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.1466, allocations: 15.98 kB / 0.5369 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1466, allocations: 0 / 0.5369 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1466, allocations: 12.12 kB / 0.5369 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1466, allocations: 4 kB / 0.5369 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1466, allocations: 4 kB / 0.5369 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1468, allocations: 181 kB / 0.5371 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.147, allocations: 116.9 kB / 0.5372 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.147, allocations: 3.984 kB / 0.5372 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1471, allocations: 4 kB / 0.5372 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.1471, allocations: 8 kB / 0.5372 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1471, allocations: 4 kB / 0.5372 GB, free: 4.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.1475, allocations: 311.1 kB / 0.5375 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1475, allocations: 4 kB / 0.5375 GB, free: 4.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000596/0.1481, allocations: 179.4 kB / 0.5377 GB, free: 3.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.001046/0.1492, allocations: 0.92 MB / 0.5386 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.1495, allocations: 152.8 kB / 0.5387 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1495, allocations: 0.5625 kB / 0.5387 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.1495, allocations: 31.92 kB / 0.5387 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.1501, allocations: 99.09 kB / 0.5388 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.1543, allocations: 3.242 MB / 0.542 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.1547, allocations: 0.7795 MB / 0.5428 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.1551, allocations: 98.36 kB / 0.5429 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.1553, allocations: 123.4 kB / 0.543 GB, free: 14.19 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1553, allocations: 0 / 0.543 GB, free: 14.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.188, allocations: 9.903 MB / 0.5527 GB, free: 4.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.051/9.239, allocations: 6.172 kB / 0.5527 GB, free: 4.43 MB / 414.1 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.066895087016746] Failed to read output from testmodel.py, exit status != 0: 9.369370484957471 9.385003261 9.250220097 Calling exit ...