Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.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.0008508/0.0008508, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007963/0.0007963, allocations: 169.8 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9194/0.9194, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.09674/0.09674, allocations: 17.38 MB / 277.4 MB, free: 11.87 MB / 266.7 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: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [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.001019/0.001019, allocations: 70.28 kB / 412.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.126, allocations: 59.84 MB / 472.7 MB, free: 13.87 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.Definitions): time 0.02402/0.15, allocations: 23.82 MB / 496.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4479/0.5978, allocations: 122.1 MB / 0.6041 GB, free: 16.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.598, allocations: 7.969 kB / 0.6041 GB, free: 16.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.5996, allocations: 0.6592 MB / 0.6047 GB, free: 16.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.6013, allocations: 1.914 MB / 0.6066 GB, free: 16.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.6019, allocations: 0.521 MB / 0.6071 GB, free: 16.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.6039, allocations: 2 MB / 0.609 GB, free: 16.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.604, allocations: 26.81 kB / 0.6091 GB, free: 16.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.6044, allocations: 471.6 kB / 0.6095 GB, free: 16.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.6048, allocations: 492.4 kB / 0.61 GB, free: 16.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.6048, allocations: 18.5 kB / 0.61 GB, free: 16.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.6057, allocations: 0.6808 MB / 0.6107 GB, free: 16.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.6058, allocations: 158.3 kB / 0.6108 GB, free: 16.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.6059, allocations: 228.2 kB / 0.611 GB, free: 16.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.6071, allocations: 1.664 MB / 0.6127 GB, free: 16.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6071, allocations: 4.609 kB / 0.6127 GB, free: 16.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6071, allocations: 4 kB / 0.6127 GB, free: 16.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.6071, allocations: 0 / 0.6127 GB, free: 16.46 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.0008841/0.608, allocations: 1.013 MB / 0.6137 GB, free: 15.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6081, allocations: 8.25 kB / 0.6137 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.6085, allocations: 294.3 kB / 0.614 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.6088, allocations: 367.9 kB / 0.6143 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.6088, allocations: 37.81 kB / 0.6143 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.6089, allocations: 44.39 kB / 0.6144 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.6103, allocations: 2.624 MB / 0.6169 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6103, allocations: 6.188 kB / 0.6169 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.6103, allocations: 18.41 kB / 0.617 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/0.6104, allocations: 86.92 kB / 0.617 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.6127, allocations: 4.237 MB / 0.6212 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.615, allocations: 3.278 MB / 0.6244 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.6156, allocations: 485.6 kB / 0.6249 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.6157, allocations: 112.4 kB / 0.625 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.6177, allocations: 1.848 MB / 0.6268 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.6177, allocations: 35.72 kB / 0.6268 GB, free: 12.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/0.6177, allocations: 0 / 0.6268 GB, free: 12.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005069/0.6182, allocations: 470.4 kB / 0.6272 GB, free: 12.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.6183, allocations: 55.75 kB / 0.6273 GB, free: 12.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.6189, allocations: 0.9123 MB / 0.6282 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.6189, allocations: 29.7 kB / 0.6282 GB, free: 12.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.619, allocations: 477.9 kB / 0.6287 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.6191, allocations: 105.7 kB / 0.6288 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.6193, allocations: 301 kB / 0.6291 GB, free: 11.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.6193, allocations: 364.6 kB / 0.6294 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.6195, allocations: 228 kB / 0.6296 GB, free: 11.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.6199, allocations: 0.8876 MB / 0.6305 GB, free: 10.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.6205, allocations: 1.223 MB / 0.6317 GB, free: 9.152 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6205, allocations: 5.031 kB / 0.6317 GB, free: 9.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0009121/0.6215, allocations: 1.127 MB / 0.6328 GB, free: 8.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6215, allocations: 17.25 kB / 0.6328 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6215, allocations: 24.22 kB / 0.6328 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.6215, allocations: 31.94 kB / 0.6329 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.6219, allocations: 302.6 kB / 0.6332 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/0.6219, allocations: 48.53 kB / 0.6332 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.6222, allocations: 148.3 kB / 0.6333 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.6223, allocations: 130.3 kB / 0.6335 GB, free: 8.555 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0002018/0.6225, allocations: 335.3 kB / 0.6338 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.6225, allocations: 92.81 kB / 0.6339 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009182/0.6234, allocations: 0.7826 MB / 0.6346 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6234, allocations: 2.938 kB / 0.6346 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6235, allocations: 0 / 0.6346 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.6235, allocations: 1.781 kB / 0.6346 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.6238, allocations: 419 kB / 0.635 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6238, allocations: 0 / 0.635 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.6239, allocations: 108.6 kB / 0.6351 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.6239, allocations: 3.969 kB / 0.6351 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.6239, allocations: 35.53 kB / 0.6352 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.624, allocations: 2.812 kB / 0.6352 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.624, allocations: 0 / 0.6352 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.6243, allocations: 481.4 kB / 0.6356 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.6245, allocations: 245.1 kB / 0.6359 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.6246, allocations: 10.12 kB / 0.6359 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6247, allocations: 11.81 kB / 0.6359 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.6247, allocations: 42.05 kB / 0.6359 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.6248, allocations: 87.59 kB / 0.636 GB, free: 7.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003599/0.6252, allocations: 0.5688 MB / 0.6366 GB, free: 7.016 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6252, allocations: 4 kB / 0.6366 GB, free: 7.012 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000477/0.6256, allocations: 181.8 kB / 0.6368 GB, free: 6.969 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 25 * 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.0002821/0.6259, allocations: 227.6 kB / 0.637 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.6264, allocations: 0.5805 MB / 0.6375 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6264, allocations: 0 / 0.6375 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.6266, allocations: 138.3 kB / 0.6377 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.6269, allocations: 100.3 kB / 0.6378 GB, free: 6.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.628, allocations: 1.289 MB / 0.639 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.6282, allocations: 365.2 kB / 0.6394 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.629, allocations: 0.5041 MB / 0.6399 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.6292, allocations: 149.5 kB / 0.64 GB, free: 5.184 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6292, allocations: 1.203 kB / 0.64 GB, free: 5.184 MB / 490.7 MB Notification: Performance of Templates: time 0.008671/0.6379, allocations: 8.578 MB / 0.6484 GB, free: 15.78 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9418429910438135] Failed to read output from testmodel.py, exit status != 0: 0.8485003879759461 0.651708944 0.042781849000000004 Calling exit ...