Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1035/0.1035, allocations: 15.54 MB / 318.2 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 445.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 56.55 MB / 0.4902 GB, free: 4.406 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2): time 0.5355/0.6756, allocations: 23.88 MB / 0.5135 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.6865, allocations: 9.2 MB / 0.5225 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.6871, allocations: 8.938 kB / 0.5225 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000846/0.6879, allocations: 227.5 kB / 0.5227 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.6894, allocations: 350.7 kB / 0.5231 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005534/0.6949, allocations: 1.423 MB / 0.5245 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.6962, allocations: 0.6632 MB / 0.5251 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.6967, allocations: 215.2 kB / 0.5253 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.6971, allocations: 326.5 kB / 0.5256 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.6977, allocations: 351.1 kB / 0.526 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-05/0.6978, allocations: 34.59 kB / 0.526 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.7018, allocations: 0.837 MB / 0.5268 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.7021, allocations: 120.3 kB / 0.5269 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.7025, allocations: 260.2 kB / 0.5272 GB, free: 488 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.7076, allocations: 1.501 MB / 0.5286 GB, free: 15.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7076, allocations: 0 / 0.5286 GB, free: 15.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.7077, allocations: 1.219 kB / 0.5286 GB, free: 15.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.7077, allocations: 0 / 0.5286 GB, free: 15.99 MB / 398.1 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.002081/0.7097, allocations: 0.9687 MB / 0.5296 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.7098, allocations: 9.188 kB / 0.5296 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.7107, allocations: 161.6 kB / 0.5297 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.7116, allocations: 457.8 kB / 0.5302 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.7116, allocations: 29.31 kB / 0.5302 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.7117, allocations: 31.62 kB / 0.5302 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7128, allocations: 0.5282 MB / 0.5308 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7128, allocations: 1.094 kB / 0.5308 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.7129, allocations: 15.28 kB / 0.5308 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.7129, allocations: 7.812 kB / 0.5308 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.7145, allocations: 0.8072 MB / 0.5316 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.7181, allocations: 1.888 MB / 0.5334 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.7187, allocations: 199.7 kB / 0.5336 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.7189, allocations: 127.6 kB / 0.5337 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004244/0.7232, allocations: 2.704 MB / 0.5364 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.7232, allocations: 35.83 kB / 0.5364 GB, free: 10.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.7232, allocations: 0 / 0.5364 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007339/0.724, allocations: 296.9 kB / 0.5367 GB, free: 10.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.724, allocations: 54.5 kB / 0.5367 GB, free: 10.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.7247, allocations: 488.6 kB / 0.5372 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.7247, allocations: 26.95 kB / 0.5372 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.725, allocations: 296.7 kB / 0.5375 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.7251, allocations: 70.27 kB / 0.5376 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.7252, allocations: 105.4 kB / 0.5377 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.7254, allocations: 358.5 kB / 0.538 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.7256, allocations: 89.53 kB / 0.5381 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.7261, allocations: 356.4 kB / 0.5384 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.7268, allocations: 0.4927 MB / 0.5389 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.7268, allocations: 2.375 kB / 0.5389 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009078/0.7277, allocations: 483.3 kB / 0.5394 GB, free: 8.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.7277, allocations: 9.375 kB / 0.5394 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.7278, allocations: 15.78 kB / 0.5394 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.7278, allocations: 16.72 kB / 0.5394 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.7282, allocations: 113.1 kB / 0.5395 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/0.7282, allocations: 22.41 kB / 0.5396 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.7287, allocations: 63.86 kB / 0.5396 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.7287, allocations: 39.7 kB / 0.5397 GB, free: 8.363 MB / 398.1 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.0002329/0.729, allocations: 173.8 kB / 0.5398 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7291, allocations: 50.36 kB / 0.5399 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/0.7299, allocations: 397.8 kB / 0.5402 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7299, allocations: 1.125 kB / 0.5402 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7299, allocations: 7.984 kB / 0.5403 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7299, allocations: 0.6562 kB / 0.5403 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.731, allocations: 0.7157 MB / 0.541 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.731, allocations: 2.812 kB / 0.541 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.7311, allocations: 18.88 kB / 0.541 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7311, allocations: 2.156 kB / 0.541 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7311, allocations: 6.062 kB / 0.541 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.7311, allocations: 9.094 kB / 0.541 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7311, allocations: 2.156 kB / 0.541 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.7314, allocations: 193.5 kB / 0.5412 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.7316, allocations: 136 kB / 0.5413 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.7317, allocations: 11.03 kB / 0.5413 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.7318, allocations: 2.5 kB / 0.5413 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.7318, allocations: 7.406 kB / 0.5413 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7319, allocations: 7.5 kB / 0.5413 GB, free: 7.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.7325, allocations: 413.1 kB / 0.5417 GB, free: 6.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7325, allocations: 0 / 0.5417 GB, free: 6.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001263/0.7337, allocations: 254.4 kB / 0.542 GB, free: 6.805 MB / 398.1 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.0009684/0.7347, allocations: 410.3 kB / 0.5424 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.7353, allocations: 219.5 kB / 0.5426 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7353, allocations: 0 / 0.5426 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.7354, allocations: 37.14 kB / 0.5426 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.7361, allocations: 120.7 kB / 0.5427 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7375, allocations: 0.685 MB / 0.5434 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.7381, allocations: 0.8108 MB / 0.5442 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.7385, allocations: 139.3 kB / 0.5443 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.7387, allocations: 55.62 kB / 0.5444 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7387, allocations: 0 / 0.5444 GB, free: 5.262 MB / 398.1 MB Notification: Performance of Templates: time 0.01713/0.7558, allocations: 8.644 MB / 0.5528 GB, free: 0.9883 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7250434178858995]