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.001299/0.001299, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001517/0.001517, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.1265/0.1265, allocations: 23.86 MB / 336.3 MB, free: 11.2 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 71.91 kB / 471.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3127, allocations: 59.85 MB / 0.5191 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003851/0.3165, allocations: 3.043 MB / 0.522 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.3224, allocations: 6.343 MB / 0.5282 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.3228, allocations: 16.38 kB / 0.5282 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.3234, allocations: 150.3 kB / 0.5284 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008479/0.3243, allocations: 258.9 kB / 0.5286 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.3266, allocations: 0.9733 MB / 0.5296 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.3273, allocations: 492.5 kB / 0.53 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3275, allocations: 143.6 kB / 0.5302 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3278, allocations: 234.4 kB / 0.5304 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.3281, allocations: 250.3 kB / 0.5306 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.3282, allocations: 23.84 kB / 0.5307 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3296, allocations: 0.5591 MB / 0.5312 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.3297, allocations: 78.5 kB / 0.5313 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3299, allocations: 192.8 kB / 0.5315 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3314, allocations: 1.04 MB / 0.5325 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3314, allocations: 0 / 0.5325 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3314, allocations: 4 kB / 0.5325 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3314, allocations: 1.156 kB / 0.5325 GB, free: 1.039 MB / 382.1 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.0008932/0.3323, allocations: 0.6931 MB / 0.5332 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3324, allocations: 9 kB / 0.5332 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.3329, allocations: 112.7 kB / 0.5333 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.3334, allocations: 315.5 kB / 0.5336 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3334, allocations: 14.31 kB / 0.5336 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.3334, allocations: 25.62 kB / 0.5336 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.334, allocations: 382.7 kB / 0.534 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.334, allocations: 0 / 0.534 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.334, allocations: 10.84 kB / 0.534 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.334, allocations: 6.188 kB / 0.534 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.3349, allocations: 0.5462 MB / 0.5345 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.3368, allocations: 1.383 MB / 0.5359 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.3372, allocations: 152.3 kB / 0.536 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3373, allocations: 87.62 kB / 0.5361 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/0.3393, allocations: 0.9888 MB / 0.5371 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3394, allocations: 31.81 kB / 0.5371 GB, free: 14.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3394, allocations: 0 / 0.5371 GB, free: 14.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004849/0.3398, allocations: 220.8 kB / 0.5373 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3399, allocations: 52.78 kB / 0.5374 GB, free: 14.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3403, allocations: 376.1 kB / 0.5377 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3403, allocations: 31.11 kB / 0.5378 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3405, allocations: 230.5 kB / 0.538 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.3406, allocations: 53.75 kB / 0.538 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.3406, allocations: 70.97 kB / 0.5381 GB, free: 13.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3408, allocations: 346.2 kB / 0.5384 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3409, allocations: 60.88 kB / 0.5385 GB, free: 13.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.3412, allocations: 249 kB / 0.5387 GB, free: 13.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.3416, allocations: 341.6 kB / 0.5391 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3416, allocations: 2.656 kB / 0.5391 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005327/0.3422, allocations: 343.7 kB / 0.5394 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3422, allocations: 12.44 kB / 0.5394 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3422, allocations: 6.875 kB / 0.5394 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3422, allocations: 9 kB / 0.5394 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3424, allocations: 78.78 kB / 0.5395 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.3424, allocations: 15.11 kB / 0.5395 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3426, allocations: 44.97 kB / 0.5395 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.3427, allocations: 25.38 kB / 0.5396 GB, free: 12.51 MB / 398.1 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.0001637/0.3428, allocations: 153.6 kB / 0.5397 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3429, allocations: 40.97 kB / 0.5398 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.3434, allocations: 277.3 kB / 0.54 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3434, allocations: 1.469 kB / 0.54 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3434, allocations: 0 / 0.54 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3434, allocations: 4.453 kB / 0.54 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.3442, allocations: 0.6044 MB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3442, allocations: 1.344 kB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.3443, allocations: 14.66 kB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3443, allocations: 3.172 kB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3443, allocations: 5.406 kB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3443, allocations: 2.875 kB / 0.5406 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3443, allocations: 5.531 kB / 0.5406 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3445, allocations: 178.8 kB / 0.5408 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.3446, allocations: 48.11 kB / 0.5409 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.3446, allocations: 7.609 kB / 0.5409 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.3447, allocations: 1.719 kB / 0.5409 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.3448, allocations: 9.781 kB / 0.5409 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3448, allocations: 3.297 kB / 0.5409 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.3451, allocations: 313.9 kB / 0.5412 GB, free: 11.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3451, allocations: 0 / 0.5412 GB, free: 11.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006172/0.3458, allocations: 172.8 kB / 0.5413 GB, free: 11.28 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.0005648/0.3463, allocations: 315.6 kB / 0.5416 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3466, allocations: 161.6 kB / 0.5418 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3466, allocations: 0.5 kB / 0.5418 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.3467, allocations: 35.34 kB / 0.5418 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3472, allocations: 91.22 kB / 0.5419 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.3482, allocations: 0.5527 MB / 0.5425 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.3486, allocations: 0.7768 MB / 0.5432 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000273/0.3488, allocations: 98.5 kB / 0.5433 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.3489, allocations: 41.48 kB / 0.5434 GB, free: 9.883 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3489, allocations: 0 / 0.5434 GB, free: 9.883 MB / 398.1 MB Notification: Performance of Templates: time 0.01527/0.3642, allocations: 6.478 MB / 0.5497 GB, free: 7.535 MB / 398.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.701038615079597] Failed to read output from testmodel.py, exit status != 0: 0.3731358079239726 0.38855935900000005 0.053982812000000005 Calling exit ...