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.0009056/0.0009056, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009516/0.0009516, allocations: 177 kB / 23.36 MB, free: 1.129 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.9083/0.9083, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.08399/0.08399, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 300.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.215e-05, allocations: 4.031 kB / 300.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004251/0.004274, allocations: 2.929 MB / 303.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.009125, allocations: 3.51 MB / 307.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.009371, allocations: 12.5 kB / 307.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.009763, allocations: 94.67 kB / 307.2 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.01034, allocations: 215.9 kB / 307.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.01172, allocations: 0.5534 MB / 308 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.01247, allocations: 0.502 MB / 308.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.01278, allocations: 147.7 kB / 308.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.01321, allocations: 307.4 kB / 308.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.0136, allocations: 203.5 kB / 309.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.01367, allocations: 24 kB / 309.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.01443, allocations: 291.4 kB / 309.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.01455, allocations: 87.67 kB / 309.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.0147, allocations: 131.7 kB / 309.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01575, allocations: 0.6731 MB / 310.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01576, allocations: 0 / 310.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01576, allocations: 0 / 310.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.01577, allocations: 0 / 310.3 MB, free: 10.65 MB / 282.7 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.0009192/0.01669, allocations: 0.6081 MB / 310.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.01672, allocations: 8.031 kB / 310.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.01728, allocations: 172 kB / 311.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.01774, allocations: 305.6 kB / 311.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.01775, allocations: 12.88 kB / 311.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.01781, allocations: 20.38 kB / 311.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.01822, allocations: 306 kB / 311.7 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01824, allocations: 3.938 kB / 311.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.01827, allocations: 12 kB / 311.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.01828, allocations: 4 kB / 311.7 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.01878, allocations: 328.1 kB / 312.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.02027, allocations: 1.11 MB / 313.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.02049, allocations: 144.1 kB / 313.3 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.02058, allocations: 44.84 kB / 313.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.02181, allocations: 0.7792 MB / 314.1 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.02184, allocations: 34.56 kB / 314.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.624e-06/0.02184, allocations: 0 / 314.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002599/0.0221, allocations: 146.9 kB / 314.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.02213, allocations: 63.34 kB / 314.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.02239, allocations: 319.2 kB / 314.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.02241, allocations: 29.7 kB / 314.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.02252, allocations: 208.5 kB / 314.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.02256, allocations: 47.62 kB / 315 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.02266, allocations: 73.62 kB / 315 MB, free: 5.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.02276, allocations: 346.8 kB / 315.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.02282, allocations: 26.81 kB / 315.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.023, allocations: 213.4 kB / 315.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.02328, allocations: 287.2 kB / 315.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.02329, allocations: 0 / 315.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003492/0.02364, allocations: 231.8 kB / 316.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.02365, allocations: 8.875 kB / 316.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.02366, allocations: 4 kB / 316.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.02368, allocations: 16 kB / 316.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.0239, allocations: 83.84 kB / 316.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.02392, allocations: 11.94 kB / 316.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.02409, allocations: 39.72 kB / 316.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.02413, allocations: 24 kB / 316.3 MB, free: 4.25 MB / 282.7 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.0001178/0.02425, allocations: 140.5 kB / 316.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.0243, allocations: 19.98 kB / 316.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.02475, allocations: 264.4 kB / 316.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02475, allocations: 0 / 316.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.02475, allocations: 0 / 316.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02476, allocations: 0 / 316.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.0252, allocations: 479.7 kB / 317.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.0252, allocations: 4 kB / 317.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.02525, allocations: 11.94 kB / 317.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.02526, allocations: 8.188 kB / 317.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.02527, allocations: 0 / 317.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.02527, allocations: 7.938 kB / 317.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.02528, allocations: 3.984 kB / 317.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.02543, allocations: 137.3 kB / 317.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.02548, allocations: 31.8 kB / 317.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.02553, allocations: 8 kB / 317.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.0256, allocations: 0 / 317.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.02562, allocations: 11.88 kB / 317.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.02563, allocations: 4 kB / 317.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.02579, allocations: 152.7 kB / 317.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02579, allocations: 0 / 317.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005009/0.0263, allocations: 119.6 kB / 317.7 MB, free: 2.742 MB / 282.7 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.0003573/0.02665, allocations: 188 kB / 317.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.02687, allocations: 122 kB / 318 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.02688, allocations: 4 kB / 318 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.02692, allocations: 28.77 kB / 318 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.02729, allocations: 70.06 kB / 318.1 MB, free: 2.328 MB / 282.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.02855, allocations: 0.5591 MB / 318.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.02861, allocations: 88.3 kB / 318.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.02885, allocations: 83.48 kB / 318.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.02906, allocations: 119.3 kB / 318.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02906, allocations: 0 / 318.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Templates: time 0.009861/0.03892, allocations: 5.225 MB / 324.2 MB, free: 12.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5249150851741433]