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.001798/0.001798, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002109/0.002109, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1309/0.1309, allocations: 23.88 MB / 332.7 MB, free: 12.3 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",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.002103/0.002103, allocations: 59.91 kB / 466 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 59.84 MB / 0.5135 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003692/0.3227, allocations: 3.025 MB / 0.5165 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.3285, allocations: 6.326 MB / 0.5227 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.3288, allocations: 7.906 kB / 0.5227 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.3293, allocations: 158.1 kB / 0.5228 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.33, allocations: 248.2 kB / 0.5231 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.3323, allocations: 0.9618 MB / 0.524 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007135/0.333, allocations: 494.1 kB / 0.5245 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.3333, allocations: 142.5 kB / 0.5246 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.3335, allocations: 232.7 kB / 0.5248 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.3339, allocations: 257.3 kB / 0.5251 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.334, allocations: 27.91 kB / 0.5251 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.3356, allocations: 0.5496 MB / 0.5257 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3357, allocations: 90.41 kB / 0.5257 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.3358, allocations: 184.1 kB / 0.5259 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3376, allocations: 1.039 MB / 0.5269 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3376, allocations: 1.156 kB / 0.5269 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3376, allocations: 4 kB / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3376, allocations: 0 / 0.5269 GB, free: 264 kB / 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.001191/0.3388, allocations: 0.7734 MB / 0.5277 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3388, allocations: 8.438 kB / 0.5277 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.3389, allocations: 54.95 kB / 0.5278 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.3395, allocations: 109.5 kB / 0.5279 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.3401, allocations: 379.3 kB / 0.5282 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3401, allocations: 18.28 kB / 0.5282 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.3402, allocations: 25.25 kB / 0.5283 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.3408, allocations: 383.8 kB / 0.5286 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3409, allocations: 0 / 0.5286 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.3409, allocations: 11.38 kB / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3409, allocations: 5.594 kB / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.3418, allocations: 0.5418 MB / 0.5292 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.3439, allocations: 1.415 MB / 0.5306 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.3443, allocations: 159.6 kB / 0.5307 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3445, allocations: 87.06 kB / 0.5308 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/0.3469, allocations: 1.901 MB / 0.5326 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.347, allocations: 33.41 kB / 0.5327 GB, free: 12.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.347, allocations: 0 / 0.5327 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004957/0.3475, allocations: 232.3 kB / 0.5329 GB, free: 12.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3475, allocations: 52.75 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.3479, allocations: 372.5 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.348, allocations: 30.8 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3481, allocations: 234.1 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.3482, allocations: 54.52 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3483, allocations: 71.12 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3485, allocations: 345.7 kB / 0.534 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3486, allocations: 60.08 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3489, allocations: 249.3 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3493, allocations: 348 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3493, allocations: 2.281 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005452/0.3498, allocations: 355.7 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3498, allocations: 8.406 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3499, allocations: 6.031 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3499, allocations: 8.812 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3501, allocations: 74.84 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.3501, allocations: 22.95 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.3503, allocations: 37.41 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.3504, allocations: 24.94 kB / 0.5351 GB, free: 10.34 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.0001568/0.3505, allocations: 163.6 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.3506, allocations: 38.61 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.3511, allocations: 279.5 kB / 0.5356 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3511, allocations: 0 / 0.5356 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3511, allocations: 5.375 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3511, allocations: 0 / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/0.3519, allocations: 0.6316 MB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3519, allocations: 2.078 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.3519, allocations: 10.91 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3519, allocations: 1.062 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3519, allocations: 6.219 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3519, allocations: 9.297 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3519, allocations: 2.25 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3522, allocations: 179.1 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3523, allocations: 123.4 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.3523, allocations: 2.531 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.3524, allocations: 2 kB / 0.5366 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.3524, allocations: 9.297 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3524, allocations: 3.5 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003547/0.3528, allocations: 312.7 kB / 0.5369 GB, free: 9.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3528, allocations: 1.25 kB / 0.5369 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006062/0.3534, allocations: 171.4 kB / 0.537 GB, free: 8.98 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.0009754/0.3544, allocations: 0.9165 MB / 0.5379 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3547, allocations: 155.9 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3547, allocations: 1.094 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.3548, allocations: 32.02 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.3553, allocations: 104.8 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.3593, allocations: 3.242 MB / 0.5414 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.3598, allocations: 0.7771 MB / 0.5421 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.3601, allocations: 100.7 kB / 0.5422 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3603, allocations: 122.3 kB / 0.5423 GB, free: 4.949 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3603, allocations: 4 kB / 0.5423 GB, free: 4.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.3955, allocations: 9.874 MB / 0.552 GB, free: 1.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.637, allocations: 20.64 kB / 0.552 GB, free: 1.055 MB / 398.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: 11.12625581305474] Failed to read output from testmodel.py, exit status != 0: 8.710369766922668 8.732354328 8.390601522 Calling exit ...