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.001222/0.001222, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00143/0.00143, allocations: 223.5 kB / 22.25 MB, free: 5.254 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.816 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.1279/0.1279, allocations: 23.93 MB / 336.4 MB, free: 11.04 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.001949/0.001949, allocations: 71.89 kB / 471.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 59.88 MB / 0.5186 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003949/0.3246, allocations: 2.823 MB / 0.5214 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.3308, allocations: 5.549 MB / 0.5268 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.3312, allocations: 12.44 kB / 0.5268 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.3317, allocations: 133.2 kB / 0.5269 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.3323, allocations: 254.6 kB / 0.5272 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.3345, allocations: 0.978 MB / 0.5281 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3352, allocations: 497.1 kB / 0.5286 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.3355, allocations: 134.9 kB / 0.5287 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3357, allocations: 237.7 kB / 0.529 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.3361, allocations: 251.5 kB / 0.5292 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.3362, allocations: 28.03 kB / 0.5292 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3374, allocations: 0.529 MB / 0.5297 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3375, allocations: 85.81 kB / 0.5298 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.3377, allocations: 152.3 kB / 0.53 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.3395, allocations: 1.038 MB / 0.531 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3395, allocations: 1.281 kB / 0.531 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3395, allocations: 0.6094 kB / 0.531 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3395, allocations: 0 / 0.531 GB, free: 1.824 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.001034/0.3406, allocations: 0.6937 MB / 0.5317 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3406, allocations: 11.22 kB / 0.5317 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.483e-05/0.3407, allocations: 53.58 kB / 0.5317 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000596/0.3413, allocations: 108.8 kB / 0.5318 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.3419, allocations: 318.8 kB / 0.5321 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3419, allocations: 17.78 kB / 0.5321 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.342, allocations: 25.94 kB / 0.5322 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.3426, allocations: 381 kB / 0.5325 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3426, allocations: 2.25 kB / 0.5325 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.3426, allocations: 8.844 kB / 0.5325 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.3426, allocations: 6.641 kB / 0.5325 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.3435, allocations: 0.5423 MB / 0.5331 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.3454, allocations: 1.334 MB / 0.5344 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.3458, allocations: 155.1 kB / 0.5345 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.3459, allocations: 87.97 kB / 0.5346 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.3481, allocations: 0.935 MB / 0.5355 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3481, allocations: 38.25 kB / 0.5356 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3481, allocations: 3.938 kB / 0.5356 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004678/0.3486, allocations: 223.8 kB / 0.5358 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3486, allocations: 53.72 kB / 0.5358 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.349, allocations: 388.1 kB / 0.5362 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.349, allocations: 30.89 kB / 0.5362 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3492, allocations: 229.8 kB / 0.5364 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.3492, allocations: 49.58 kB / 0.5365 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3493, allocations: 75.83 kB / 0.5366 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3495, allocations: 340.1 kB / 0.5369 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3496, allocations: 70.89 kB / 0.537 GB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3499, allocations: 236.6 kB / 0.5372 GB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.3503, allocations: 344.8 kB / 0.5375 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3503, allocations: 1.375 kB / 0.5375 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005538/0.3508, allocations: 347.6 kB / 0.5378 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3509, allocations: 9.422 kB / 0.5379 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3509, allocations: 7.75 kB / 0.5379 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3509, allocations: 8.25 kB / 0.5379 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3511, allocations: 83.2 kB / 0.538 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.3511, allocations: 17.3 kB / 0.538 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3513, allocations: 42.45 kB / 0.538 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3514, allocations: 25.42 kB / 0.538 GB, free: 13.28 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.0001702/0.3515, allocations: 154.7 kB / 0.5382 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.3516, allocations: 34.98 kB / 0.5382 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.3522, allocations: 294 kB / 0.5385 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3523, allocations: 1.25 kB / 0.5385 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3523, allocations: 3.938 kB / 0.5385 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3523, allocations: 0.9844 kB / 0.5385 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.353, allocations: 0.5824 MB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.353, allocations: 1.688 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.3531, allocations: 16.03 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.3531, allocations: 1.969 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3531, allocations: 6.906 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3531, allocations: 2.344 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3531, allocations: 2 kB / 0.5391 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3533, allocations: 183.8 kB / 0.5393 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.3534, allocations: 39.92 kB / 0.5393 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3535, allocations: 3.828 kB / 0.5393 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3536, allocations: 6.125 kB / 0.5393 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.3536, allocations: 6.625 kB / 0.5393 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3536, allocations: 2.875 kB / 0.5393 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.354, allocations: 321.7 kB / 0.5396 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 1.219 kB / 0.5396 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006502/0.3546, allocations: 172.4 kB / 0.5398 GB, free: 12.05 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.001078/0.3557, allocations: 0.9131 MB / 0.5407 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.356, allocations: 161.8 kB / 0.5408 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.356, allocations: 0 / 0.5408 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.3561, allocations: 27.73 kB / 0.5409 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.3567, allocations: 97.42 kB / 0.541 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.3608, allocations: 3.247 MB / 0.5441 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.361, allocations: 174.3 kB / 0.5443 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.3614, allocations: 98.44 kB / 0.5444 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3616, allocations: 122.5 kB / 0.5445 GB, free: 8.664 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3616, allocations: 0 / 0.5445 GB, free: 8.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.4047, allocations: 10.94 MB / 0.5552 GB, free: 3.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.06, allocations: 7.141 kB / 0.5552 GB, free: 3.629 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.577965612988919] Failed to read output from testmodel.py, exit status != 0: 11.171067636983935 11.18552272 10.843021749 Calling exit ...