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.00133/0.00133, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001483/0.001483, allocations: 215.4 kB / 23.03 MB, free: 4.926 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1388/0.1388, allocations: 23.9 MB / 337.1 MB, free: 11.05 MB / 270.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.001988/0.001988, allocations: 71.89 kB / 471.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 59.87 MB / 0.5193 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004752/0.3819, allocations: 2.821 MB / 0.5221 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007283/0.3892, allocations: 5.545 MB / 0.5275 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.3897, allocations: 11.25 kB / 0.5275 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.3903, allocations: 133.9 kB / 0.5276 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.3913, allocations: 258.4 kB / 0.5279 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.3944, allocations: 0.9666 MB / 0.5288 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008711/0.3953, allocations: 0.4896 MB / 0.5293 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.3956, allocations: 135.5 kB / 0.5294 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.3959, allocations: 241.4 kB / 0.5297 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.3963, allocations: 250.7 kB / 0.5299 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.3964, allocations: 32.81 kB / 0.5299 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.3984, allocations: 0.5293 MB / 0.5305 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.3986, allocations: 89.11 kB / 0.5305 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.3988, allocations: 156.7 kB / 0.5307 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.4022, allocations: 1.034 MB / 0.5317 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4022, allocations: 0 / 0.5317 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4022, allocations: 1.281 kB / 0.5317 GB, free: 1.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4022, allocations: 0 / 0.5317 GB, free: 1.852 MB / 382.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.001302/0.4035, allocations: 0.6938 MB / 0.5324 GB, free: 1.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4035, allocations: 14.06 kB / 0.5324 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.652e-05/0.4036, allocations: 5.312 kB / 0.5324 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.4036, allocations: 60.33 kB / 0.5325 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.4042, allocations: 108.4 kB / 0.5326 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.4048, allocations: 318.8 kB / 0.5329 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4049, allocations: 21.12 kB / 0.5329 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.4049, allocations: 18.56 kB / 0.5329 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.4056, allocations: 384.5 kB / 0.5333 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4056, allocations: 0 / 0.5333 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.4056, allocations: 7.406 kB / 0.5333 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4056, allocations: 6.906 kB / 0.5333 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.4065, allocations: 0.5523 MB / 0.5338 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.4084, allocations: 1.331 MB / 0.5351 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.4088, allocations: 154.7 kB / 0.5353 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.409, allocations: 87.8 kB / 0.5354 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/0.4113, allocations: 0.9402 MB / 0.5363 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.4113, allocations: 37.38 kB / 0.5363 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.4113, allocations: 0 / 0.5363 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005588/0.4119, allocations: 220.3 kB / 0.5365 GB, free: 15.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4119, allocations: 56.72 kB / 0.5366 GB, free: 14.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.4124, allocations: 374.4 kB / 0.5369 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.4124, allocations: 25.7 kB / 0.537 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4126, allocations: 226.4 kB / 0.5372 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.4127, allocations: 55.48 kB / 0.5372 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4128, allocations: 68.84 kB / 0.5373 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.413, allocations: 346.6 kB / 0.5376 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4131, allocations: 69.06 kB / 0.5377 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.4134, allocations: 242.5 kB / 0.5379 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.4139, allocations: 344.5 kB / 0.5383 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4139, allocations: 2.219 kB / 0.5383 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000609/0.4145, allocations: 349.5 kB / 0.5386 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4145, allocations: 12.66 kB / 0.5386 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4146, allocations: 7.188 kB / 0.5386 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.4146, allocations: 12.81 kB / 0.5386 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.4148, allocations: 80.59 kB / 0.5387 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.4149, allocations: 19.31 kB / 0.5387 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.4151, allocations: 41.48 kB / 0.5388 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.4152, allocations: 20.88 kB / 0.5388 GB, free: 13.31 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.0001924/0.4154, allocations: 156.6 kB / 0.5389 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.4154, allocations: 34.36 kB / 0.539 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.416, allocations: 288.9 kB / 0.5392 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.416, allocations: 1.375 kB / 0.5392 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.416, allocations: 4.734 kB / 0.5392 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4161, allocations: 1.375 kB / 0.5392 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.4169, allocations: 0.579 MB / 0.5398 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4169, allocations: 0.9062 kB / 0.5398 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.417, allocations: 14.78 kB / 0.5398 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.417, allocations: 11.73 kB / 0.5398 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.417, allocations: 1.688 kB / 0.5398 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.417, allocations: 2.25 kB / 0.5398 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.417, allocations: 1.625 kB / 0.5398 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4173, allocations: 181.9 kB / 0.54 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.4174, allocations: 39.67 kB / 0.54 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.4174, allocations: 7.453 kB / 0.5401 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4175, allocations: 6.656 kB / 0.5401 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.4176, allocations: 6.094 kB / 0.5401 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4176, allocations: 3.031 kB / 0.5401 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.418, allocations: 318.1 kB / 0.5404 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.418, allocations: 0 / 0.5404 GB, free: 12.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007623/0.4187, allocations: 179.9 kB / 0.5405 GB, free: 12.08 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.001184/0.4199, allocations: 0.9022 MB / 0.5414 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.4203, allocations: 162.3 kB / 0.5416 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4203, allocations: 0 / 0.5416 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.4204, allocations: 31.7 kB / 0.5416 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.421, allocations: 105.4 kB / 0.5417 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.426, allocations: 3.252 MB / 0.5449 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.4263, allocations: 166.6 kB / 0.545 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.4267, allocations: 98.16 kB / 0.5451 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.4269, allocations: 122 kB / 0.5453 GB, free: 8.699 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4269, allocations: 1.406 kB / 0.5453 GB, free: 8.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.4708, allocations: 10.54 MB / 0.5555 GB, free: 4.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.42, allocations: 15.8 kB / 0.5556 GB, free: 4.039 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.148148011998273] Failed to read output from testmodel.py, exit status != 0: 12.587233162019402 12.612838041 12.205248225 Calling exit ...