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.001834/0.001834, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002233/0.002233, allocations: 219.7 kB / 23.03 MB, free: 4.949 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1468/0.1468, allocations: 23.87 MB / 337.1 MB, free: 11.09 MB / 270.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.00206/0.00206, allocations: 59.91 kB / 471.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 59.85 MB / 0.5193 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004014/0.3221, allocations: 2.824 MB / 0.522 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.3281, allocations: 5.549 MB / 0.5275 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.3285, allocations: 11.66 kB / 0.5275 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.329, allocations: 134.1 kB / 0.5276 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.3297, allocations: 258.5 kB / 0.5278 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.3323, allocations: 0.9733 MB / 0.5288 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.3331, allocations: 493.4 kB / 0.5293 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.3334, allocations: 135.3 kB / 0.5294 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.3337, allocations: 246.1 kB / 0.5296 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.334, allocations: 246.5 kB / 0.5299 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.3341, allocations: 24.44 kB / 0.5299 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.3356, allocations: 0.5297 MB / 0.5304 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3358, allocations: 93.7 kB / 0.5305 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.336, allocations: 156.5 kB / 0.5306 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.3378, allocations: 1.034 MB / 0.5317 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3379, allocations: 1.375 kB / 0.5317 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3379, allocations: 0 / 0.5317 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3379, allocations: 0 / 0.5317 GB, free: 1.836 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.001071/0.3389, allocations: 0.6934 MB / 0.5323 GB, free: 1.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.339, allocations: 9.969 kB / 0.5323 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.339e-05/0.339, allocations: 10.41 kB / 0.5324 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.3391, allocations: 58.84 kB / 0.5324 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.3396, allocations: 116.9 kB / 0.5325 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3402, allocations: 311.2 kB / 0.5328 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3402, allocations: 21.66 kB / 0.5328 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.3402, allocations: 17.44 kB / 0.5329 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.3409, allocations: 385.5 kB / 0.5332 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3409, allocations: 3.938 kB / 0.5332 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.3409, allocations: 7.391 kB / 0.5332 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3409, allocations: 6.656 kB / 0.5332 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.3418, allocations: 0.5489 MB / 0.5338 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3438, allocations: 1.331 MB / 0.5351 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.3441, allocations: 155.9 kB / 0.5352 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3443, allocations: 87.78 kB / 0.5353 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002132/0.3464, allocations: 0.9352 MB / 0.5362 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3465, allocations: 42.8 kB / 0.5363 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3465, allocations: 0 / 0.5363 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004844/0.3469, allocations: 222 kB / 0.5365 GB, free: 14.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.347, allocations: 61.84 kB / 0.5365 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.3475, allocations: 372 kB / 0.5369 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.3475, allocations: 27.61 kB / 0.5369 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3477, allocations: 227.1 kB / 0.5371 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.3477, allocations: 50.59 kB / 0.5372 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3478, allocations: 74.3 kB / 0.5372 GB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.348, allocations: 346 kB / 0.5376 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3482, allocations: 60.77 kB / 0.5376 GB, free: 14.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.3484, allocations: 254.8 kB / 0.5379 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.3489, allocations: 346.6 kB / 0.5382 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3489, allocations: 1.688 kB / 0.5382 GB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005676/0.3495, allocations: 342.1 kB / 0.5385 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3495, allocations: 12.19 kB / 0.5386 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3495, allocations: 7.719 kB / 0.5386 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3496, allocations: 8.25 kB / 0.5386 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3498, allocations: 78.8 kB / 0.5386 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.3498, allocations: 18.09 kB / 0.5387 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3501, allocations: 41.42 kB / 0.5387 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.3501, allocations: 21.8 kB / 0.5387 GB, free: 13.29 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.0001747/0.3503, allocations: 154.4 kB / 0.5389 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.3504, allocations: 36.27 kB / 0.5389 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.3509, allocations: 286.3 kB / 0.5392 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3509, allocations: 5.5 kB / 0.5392 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.351, allocations: 3.938 kB / 0.5392 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.351, allocations: 0.9844 kB / 0.5392 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.3518, allocations: 0.579 MB / 0.5397 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3518, allocations: 1.125 kB / 0.5397 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.3518, allocations: 19.34 kB / 0.5398 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3518, allocations: 2.594 kB / 0.5398 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3518, allocations: 6.188 kB / 0.5398 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3518, allocations: 2.156 kB / 0.5398 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3518, allocations: 1.984 kB / 0.5398 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.3521, allocations: 182.4 kB / 0.54 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3522, allocations: 38.48 kB / 0.54 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.3522, allocations: 8.5 kB / 0.54 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3524, allocations: 5.812 kB / 0.54 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.3524, allocations: 6.734 kB / 0.54 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3524, allocations: 7.484 kB / 0.54 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.3528, allocations: 313.7 kB / 0.5403 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3528, allocations: 4 kB / 0.5403 GB, free: 12.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007151/0.3535, allocations: 176.3 kB / 0.5405 GB, free: 12.07 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.001122/0.3546, allocations: 0.9138 MB / 0.5414 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.355, allocations: 156.9 kB / 0.5415 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.355, allocations: 1.469 kB / 0.5415 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.355, allocations: 30.83 kB / 0.5416 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.3556, allocations: 92.88 kB / 0.5417 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.3599, allocations: 3.26 MB / 0.5448 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.3601, allocations: 168.9 kB / 0.545 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.3604, allocations: 101.3 kB / 0.5451 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3606, allocations: 121.3 kB / 0.5452 GB, free: 8.676 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3606, allocations: 3.938 kB / 0.5452 GB, free: 8.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.3975, allocations: 10.54 MB / 0.5555 GB, free: 4.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.43, allocations: 12.05 kB / 0.5555 GB, free: 4.109 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.299948569969274] Failed to read output from testmodel.py, exit status != 0: 12.601382696069777 12.626246762 12.283621257 Calling exit ...