Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.0008778/0.0008778, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009476/0.0009476, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.08631/0.08631, allocations: 17.46 MB / 278.5 MB, free: 11.41 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 3.984 kB / 354.8 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.757e-05, allocations: 2.312 kB / 354.8 MB, free: 9.555 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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 master/Obsolete.mo:12638:6-12638:65: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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.02707/0.0271, allocations: 27.23 MB / 382 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007684/0.03478, allocations: 9.024 MB / 391 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.03512, allocations: 11.88 kB / 391.1 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.03565, allocations: 206.4 kB / 391.3 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007558/0.03641, allocations: 373 kB / 391.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.03929, allocations: 1.49 MB / 393.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000743/0.04003, allocations: 0.689 MB / 393.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.04031, allocations: 197.8 kB / 394 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.04066, allocations: 431.2 kB / 394.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.04101, allocations: 295.3 kB / 394.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.04106, allocations: 36 kB / 394.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.0423, allocations: 0.7913 MB / 395.5 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.04242, allocations: 119.6 kB / 395.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.04256, allocations: 179.6 kB / 395.8 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.04409, allocations: 1.482 MB / 397.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.0441, allocations: 8 kB / 397.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0441, allocations: 0 / 397.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.04411, allocations: 0 / 397.3 MB, free: 15.11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009925/0.0451, allocations: 0.9807 MB / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.04514, allocations: 11.97 kB / 398.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.04567, allocations: 255.3 kB / 398.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.04611, allocations: 410.4 kB / 399 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.04613, allocations: 21.03 kB / 399 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.04617, allocations: 32.38 kB / 399 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.0466, allocations: 444.8 kB / 399.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.04661, allocations: 3.938 kB / 399.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.04665, allocations: 12 kB / 399.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.04666, allocations: 8 kB / 399.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.04717, allocations: 0.5104 MB / 400 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.04876, allocations: 2.076 MB / 402.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.04897, allocations: 127 kB / 402.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.04906, allocations: 67.64 kB / 402.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.05061, allocations: 1.362 MB / 403.6 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.05064, allocations: 37.33 kB / 403.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.05064, allocations: 0 / 403.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003097/0.05095, allocations: 189.3 kB / 403.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.05098, allocations: 55.41 kB / 403.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.05126, allocations: 490.2 kB / 404.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.05128, allocations: 29.7 kB / 404.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.05145, allocations: 354.5 kB / 404.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.05148, allocations: 63.47 kB / 404.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.05157, allocations: 107.7 kB / 404.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.05173, allocations: 0.5351 MB / 405.4 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.05179, allocations: 36.97 kB / 405.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.05203, allocations: 443.3 kB / 405.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.05239, allocations: 0.5136 MB / 406.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.0524, allocations: 3.938 kB / 406.4 MB, free: 5.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004035/0.0528, allocations: 389.7 kB / 406.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.05282, allocations: 16 kB / 406.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.05283, allocations: 8 kB / 406.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.05284, allocations: 12 kB / 406.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.05302, allocations: 119.8 kB / 407 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.05304, allocations: 19.92 kB / 407 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.05317, allocations: 47.62 kB / 407 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.05321, allocations: 32 kB / 407.1 MB, free: 4.691 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001171/0.05333, allocations: 188.3 kB / 407.2 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.05338, allocations: 51.7 kB / 407.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.05383, allocations: 413.3 kB / 407.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.05383, allocations: 0 / 407.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.05384, allocations: 0 / 407.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.05384, allocations: 3.984 kB / 407.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.05425, allocations: 0.6082 MB / 408.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.05425, allocations: 4 kB / 408.3 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.05428, allocations: 8 kB / 408.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.05429, allocations: 192 / 408.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.05429, allocations: 8 kB / 408.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.05429, allocations: 0 / 408.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0543, allocations: 4 kB / 408.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.05443, allocations: 186.5 kB / 408.5 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.05447, allocations: 35.72 kB / 408.5 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.05451, allocations: 15.92 kB / 408.6 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.05456, allocations: 4 kB / 408.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.05458, allocations: 11.88 kB / 408.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.05459, allocations: 0 / 408.6 MB, free: 3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.05478, allocations: 334.7 kB / 408.9 MB, free: 2.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05478, allocations: 0 / 408.9 MB, free: 2.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000469/0.05525, allocations: 259 kB / 409.2 MB, free: 2.422 MB / 330.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.0005035/0.05575, allocations: 434 kB / 409.6 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.05596, allocations: 178.3 kB / 409.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05596, allocations: 0 / 409.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.05598, allocations: 31.59 kB / 409.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.05632, allocations: 108.2 kB / 409.9 MB, free: 1.672 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.05739, allocations: 0.6653 MB / 410.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.05745, allocations: 105.3 kB / 410.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.05767, allocations: 111.1 kB / 410.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.05786, allocations: 178.1 kB / 410.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05786, allocations: 4 kB / 410.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of Templates: time 0.1341/0.1919, allocations: 9.735 MB / 420.7 MB, free: 49.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.17430785484612]