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.001418/0.001418, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001197/0.001197, allocations: 169 kB / 23.49 MB, free: 1.055 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.09209/0.09209, allocations: 17.46 MB / 277.7 MB, free: 11.61 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 1.513e-06/1.513e-06, allocations: 0 / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.625e-05, allocations: 2.312 kB / 353.6 MB, free: 10.18 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.0266/0.02663, allocations: 27.18 MB / 380.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008209/0.03484, allocations: 9.208 MB / 390 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.03517, allocations: 11.88 kB / 390 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.03567, allocations: 210.4 kB / 390.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.03637, allocations: 361 kB / 390.5 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.03882, allocations: 1.494 MB / 392 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.03943, allocations: 0.6929 MB / 392.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.03969, allocations: 197.7 kB / 392.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.03999, allocations: 431.2 kB / 393.3 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.0403, allocations: 295.4 kB / 393.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.04035, allocations: 36 kB / 393.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.04136, allocations: 0.7874 MB / 394.4 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.04147, allocations: 123.5 kB / 394.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.04162, allocations: 175.6 kB / 394.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.04296, allocations: 1.482 MB / 396.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.04297, allocations: 0 / 396.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04297, allocations: 4 kB / 396.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.04297, allocations: 0 / 396.2 MB, free: 15.61 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.0009401/0.04391, allocations: 0.9769 MB / 397.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.04395, allocations: 12.02 kB / 397.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.0445, allocations: 259.2 kB / 397.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.04491, allocations: 410.5 kB / 397.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.04492, allocations: 25.03 kB / 397.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.04497, allocations: 32.36 kB / 397.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.04553, allocations: 476.8 kB / 398.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.04554, allocations: 3.938 kB / 398.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.04558, allocations: 16 kB / 398.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.04559, allocations: 8 kB / 398.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.04621, allocations: 0.5814 MB / 399 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.04773, allocations: 2.068 MB / 401.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.04797, allocations: 135 kB / 401.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.04809, allocations: 75.66 kB / 401.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.04954, allocations: 1.358 MB / 402.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.04956, allocations: 37.38 kB / 402.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.04956, allocations: 0 / 402.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003633/0.04993, allocations: 205.2 kB / 402.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.04995, allocations: 51.41 kB / 402.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.05028, allocations: 498.4 kB / 403.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.05029, allocations: 25.7 kB / 403.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.05045, allocations: 358.6 kB / 403.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.05049, allocations: 63.48 kB / 403.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.05058, allocations: 103.8 kB / 403.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.05071, allocations: 0.5313 MB / 404.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.05079, allocations: 40.97 kB / 404.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.05103, allocations: 443.4 kB / 404.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.05149, allocations: 0.5253 MB / 405.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.0515, allocations: 7.938 kB / 405.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004595/0.05196, allocations: 417.5 kB / 405.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.05198, allocations: 8 kB / 405.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.05199, allocations: 12 kB / 405.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.05201, allocations: 12 kB / 405.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.05221, allocations: 107.8 kB / 406 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.05223, allocations: 19.92 kB / 406 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.05236, allocations: 55.62 kB / 406.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.0524, allocations: 35.98 kB / 406.1 MB, free: 5.027 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.0001336/0.05253, allocations: 200.5 kB / 406.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.05259, allocations: 47.72 kB / 406.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.05306, allocations: 397.5 kB / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.05307, allocations: 0 / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.05307, allocations: 0 / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.05308, allocations: 0 / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.05358, allocations: 0.6702 MB / 407.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.05358, allocations: 3.938 kB / 407.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.05362, allocations: 20.17 kB / 407.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.05362, allocations: 0 / 407.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.05363, allocations: 4.062 kB / 407.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.05364, allocations: 4 kB / 407.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.05364, allocations: 4 kB / 407.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.05379, allocations: 182.5 kB / 407.6 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.05384, allocations: 43.7 kB / 407.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.05388, allocations: 7.938 kB / 407.7 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.05394, allocations: 7.938 kB / 407.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.05397, allocations: 11.92 kB / 407.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.05397, allocations: 8 kB / 407.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.05423, allocations: 346.8 kB / 408.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05423, allocations: 0 / 408.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.05472, allocations: 259 kB / 408.3 MB, free: 2.668 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.0005272/0.05525, allocations: 422 kB / 408.7 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.05551, allocations: 182.1 kB / 408.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.05552, allocations: 0 / 408.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.05554, allocations: 28.55 kB / 408.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.05591, allocations: 116.4 kB / 409 MB, free: 1.922 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.001184/0.0571, allocations: 0.6575 MB / 409.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.05716, allocations: 101.3 kB / 409.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.05739, allocations: 131 kB / 409.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.05747, allocations: 60.47 kB / 410 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05747, allocations: 0 / 410 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of Templates: time 0.1329/0.1903, allocations: 8.285 MB / 418.3 MB, free: 61.8 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.150126076070592]