Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001261/0.001261, allocations: 119.3 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.00135/0.00135, allocations: 209.5 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1432/0.1432, allocations: 23.89 MB / 333.4 MB, free: 1.176 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_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.002012/0.002012, allocations: 64.69 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1033, allocations: 59.83 MB / 0.5142 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004372/0.1076, allocations: 3.022 MB / 0.5172 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007481/0.1151, allocations: 6.316 MB / 0.5233 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1153, allocations: 15.81 kB / 0.5234 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.1158, allocations: 159.1 kB / 0.5235 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.1164, allocations: 254 kB / 0.5238 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1184, allocations: 0.9665 MB / 0.5247 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.119, allocations: 494.6 kB / 0.5252 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.1193, allocations: 144.4 kB / 0.5253 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1195, allocations: 235.4 kB / 0.5255 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.1199, allocations: 251.1 kB / 0.5258 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.1199, allocations: 24 kB / 0.5258 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1211, allocations: 0.5538 MB / 0.5263 GB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1212, allocations: 99.67 kB / 0.5264 GB, free: 384 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1214, allocations: 179.1 kB / 0.5266 GB, free: 204 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.1229, allocations: 1.035 MB / 0.5276 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1229, allocations: 0 / 0.5276 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1229, allocations: 4 kB / 0.5276 GB, free: 15.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1229, allocations: 0 / 0.5276 GB, free: 15.16 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.001123/0.124, allocations: 0.7778 MB / 0.5284 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.124, allocations: 8.031 kB / 0.5284 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.124, allocations: 8.625 kB / 0.5284 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.1241, allocations: 54.73 kB / 0.5284 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005455/0.1247, allocations: 112.4 kB / 0.5285 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.1252, allocations: 380.1 kB / 0.5289 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1252, allocations: 20.56 kB / 0.5289 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1253, allocations: 20 kB / 0.5289 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.1259, allocations: 377.9 kB / 0.5293 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1259, allocations: 7.938 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.126, allocations: 12 kB / 0.5293 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.126, allocations: 4 kB / 0.5293 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.1268, allocations: 0.5437 MB / 0.5299 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.1287, allocations: 1.411 MB / 0.5312 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.1291, allocations: 159.3 kB / 0.5314 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1293, allocations: 92.83 kB / 0.5315 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002362/0.1316, allocations: 1.899 MB / 0.5333 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1316, allocations: 30.56 kB / 0.5334 GB, free: 8.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1316, allocations: 4 kB / 0.5334 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005059/0.1321, allocations: 221.3 kB / 0.5336 GB, free: 8.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1322, allocations: 63.33 kB / 0.5336 GB, free: 8.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1326, allocations: 369.6 kB / 0.534 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1326, allocations: 29.7 kB / 0.534 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1328, allocations: 227.9 kB / 0.5342 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1328, allocations: 55.58 kB / 0.5343 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1329, allocations: 69.66 kB / 0.5344 GB, free: 7.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1331, allocations: 350.7 kB / 0.5347 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1332, allocations: 63.97 kB / 0.5348 GB, free: 7.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1335, allocations: 240.8 kB / 0.535 GB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.1339, allocations: 344.5 kB / 0.5353 GB, free: 6.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.1339, allocations: 11.94 kB / 0.5353 GB, free: 6.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005668/0.1345, allocations: 348.8 kB / 0.5357 GB, free: 6.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1345, allocations: 10.66 kB / 0.5357 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1345, allocations: 4 kB / 0.5357 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1346, allocations: 12.78 kB / 0.5357 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1348, allocations: 71.91 kB / 0.5357 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.1348, allocations: 23.88 kB / 0.5358 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.135, allocations: 39.67 kB / 0.5358 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.135, allocations: 27.98 kB / 0.5358 GB, free: 6.027 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.0001607/0.1352, allocations: 157.7 kB / 0.536 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1353, allocations: 35.77 kB / 0.536 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.1358, allocations: 279.3 kB / 0.5363 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1358, allocations: 0 / 0.5363 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1358, allocations: 3.938 kB / 0.5363 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1358, allocations: 0 / 0.5363 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.1365, allocations: 0.6353 MB / 0.5369 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1365, allocations: 0 / 0.5369 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.1366, allocations: 19.92 kB / 0.5369 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1366, allocations: 0 / 0.5369 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1366, allocations: 4 kB / 0.5369 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1366, allocations: 0 / 0.5369 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1366, allocations: 4 kB / 0.5369 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1368, allocations: 185.2 kB / 0.5371 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.137, allocations: 116.9 kB / 0.5372 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.137, allocations: 0 / 0.5372 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.1371, allocations: 4 kB / 0.5372 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1371, allocations: 15.98 kB / 0.5372 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1371, allocations: 4.125 kB / 0.5372 GB, free: 4.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003633/0.1375, allocations: 315.1 kB / 0.5376 GB, free: 4.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 0 / 0.5376 GB, free: 4.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.138, allocations: 175.4 kB / 0.5377 GB, free: 3.938 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.0009394/0.139, allocations: 0.9239 MB / 0.5386 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1393, allocations: 156.2 kB / 0.5388 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1393, allocations: 4 kB / 0.5388 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.1394, allocations: 23.92 kB / 0.5388 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.1399, allocations: 98.41 kB / 0.5389 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.1437, allocations: 3.241 MB / 0.5421 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1441, allocations: 0.7795 MB / 0.5428 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.1444, allocations: 99.03 kB / 0.5429 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1445, allocations: 115.4 kB / 0.543 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1446, allocations: 0 / 0.543 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.1725, allocations: 9.927 MB / 0.5527 GB, free: 4.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.044/9.217, allocations: 7.922 kB / 0.5527 GB, free: 4.391 MB / 414.1 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.028544214030262] Failed to read output from testmodel.py, exit status != 0: 9.35061045200564 9.376715821 9.248935338 Calling exit ...