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.0009608/0.0009608, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001619/0.001619, allocations: 177 kB / 23.36 MB, free: 1.137 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.8918/0.8918, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.08199/0.08199, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.383e-06/1.383e-06, allocations: 0 / 300.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.359e-05, allocations: 4.281 kB / 300.7 MB, free: 1.723 MB / 266.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.02964/0.02965, allocations: 33.06 MB / 333.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.03657, allocations: 9.143 MB / 342.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.03674, allocations: 19.81 kB / 343 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.03711, allocations: 206.5 kB / 343.2 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.03759, allocations: 376.9 kB / 343.5 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.03907, allocations: 1.498 MB / 345 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.03959, allocations: 0.6928 MB / 345.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.0398, allocations: 209.7 kB / 345.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.04008, allocations: 423.3 kB / 346.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.04034, allocations: 291.3 kB / 346.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.04039, allocations: 36 kB / 346.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.04119, allocations: 0.7912 MB / 347.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.04129, allocations: 127.5 kB / 347.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.04141, allocations: 175.6 kB / 347.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.04269, allocations: 1.478 MB / 349.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.04269, allocations: 0 / 349.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04269, allocations: 0 / 349.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.0427, allocations: 0 / 349.2 MB, free: 3.82 MB / 314.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.0007202/0.04342, allocations: 0.8521 MB / 350.1 MB, free: 2.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.04345, allocations: 12.03 kB / 350.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.04388, allocations: 247.6 kB / 350.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.04428, allocations: 371.7 kB / 350.7 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.04429, allocations: 24.97 kB / 350.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.04434, allocations: 32.36 kB / 350.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.04469, allocations: 422.1 kB / 351.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.0447, allocations: 3.938 kB / 351.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.04472, allocations: 16 kB / 351.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.04473, allocations: 8 kB / 351.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.04515, allocations: 477.6 kB / 351.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.0463, allocations: 1.51 MB / 353.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.04646, allocations: 165.1 kB / 353.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.04653, allocations: 61.42 kB / 353.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.04783, allocations: 1.262 MB / 354.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.04785, allocations: 34.56 kB / 354.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.04785, allocations: 0 / 354.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002089/0.04806, allocations: 171.7 kB / 354.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.04808, allocations: 63.34 kB / 354.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.04828, allocations: 403.1 kB / 355.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.0483, allocations: 29.7 kB / 355.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.0484, allocations: 268.7 kB / 355.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.04843, allocations: 63.47 kB / 355.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.0485, allocations: 94.11 kB / 355.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.04873, allocations: 358.7 kB / 356.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.04878, allocations: 39.8 kB / 356.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.04893, allocations: 317.8 kB / 356.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.04918, allocations: 419.1 kB / 356.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.04918, allocations: 4 kB / 356.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002858/0.04947, allocations: 324.5 kB / 357.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.04948, allocations: 16.05 kB / 357.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.04949, allocations: 8 kB / 357.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.04951, allocations: 12 kB / 357.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.04967, allocations: 111.8 kB / 357.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.04968, allocations: 15.94 kB / 357.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.04981, allocations: 47.62 kB / 357.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.04984, allocations: 35.98 kB / 357.4 MB, free: 11.11 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 8.932e-05/0.04993, allocations: 140.5 kB / 357.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.04996, allocations: 35.91 kB / 357.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.05032, allocations: 362.2 kB / 357.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.05033, allocations: 4 kB / 358 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.05033, allocations: 0 / 358 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.05033, allocations: 0 / 358 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.05064, allocations: 0.5035 MB / 358.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.05064, allocations: 4 kB / 358.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.05067, allocations: 8 kB / 358.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.05067, allocations: 192 / 358.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.05068, allocations: 11.94 kB / 358.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.05068, allocations: 7.922 kB / 358.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.05068, allocations: 4 kB / 358.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.05078, allocations: 145.1 kB / 358.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.05081, allocations: 39.7 kB / 358.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.05084, allocations: 4 kB / 358.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.05089, allocations: 8.125 kB / 358.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.05091, allocations: 11.92 kB / 358.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.05091, allocations: 4 kB / 358.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.05104, allocations: 200.4 kB / 358.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05104, allocations: 4 kB / 358.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.05139, allocations: 259 kB / 359.1 MB, free: 9.227 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.0003937/0.05178, allocations: 411.2 kB / 359.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.05194, allocations: 171.5 kB / 359.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.05195, allocations: 4.5 kB / 359.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.05197, allocations: 20.8 kB / 359.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.05221, allocations: 109.3 kB / 359.8 MB, free: 8.523 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.0008982/0.05311, allocations: 0.6803 MB / 360.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.05316, allocations: 105.2 kB / 360.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.05335, allocations: 119.1 kB / 360.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.05351, allocations: 143.3 kB / 360.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.05351, allocations: 4 kB / 360.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of Templates: time 0.01061/0.06411, allocations: 9.658 MB / 370.6 MB, free: 13.81 MB / 346.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: 2.6685663778334856]