Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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.001291/0.001291, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001369/0.001369, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.357/1.357, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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.1243/0.1243, allocations: 17.36 MB / 277.1 MB, free: 15.29 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [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.002051/0.002051, allocations: 63.91 kB / 412.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 59.84 MB / 472.3 MB, free: 2.594 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.06877/0.3664, allocations: 25.81 MB / 498.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3765, allocations: 7.239 MB / 0.4935 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.3772, allocations: 15.94 kB / 0.4935 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.3794, allocations: 0.7188 MB / 0.4942 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.3808, allocations: 0.547 MB / 0.4947 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3826, allocations: 0.7422 MB / 0.4954 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3841, allocations: 1.141 MB / 0.4965 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.3844, allocations: 153.1 kB / 0.4967 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.3847, allocations: 378.5 kB / 0.4971 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.3852, allocations: 370 kB / 0.4974 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3853, allocations: 80 kB / 0.4975 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3873, allocations: 0.9556 MB / 0.4984 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.3875, allocations: 270.9 kB / 0.4987 GB, free: 408 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.3879, allocations: 421.7 kB / 0.4991 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.3908, allocations: 2.317 MB / 0.5013 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3908, allocations: 0 / 0.5013 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3908, allocations: 0 / 0.5013 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3909, allocations: 0 / 0.5013 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002202/0.3931, allocations: 1.399 MB / 0.5027 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3931, allocations: 15.97 kB / 0.5027 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.3937, allocations: 216 kB / 0.5029 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.3945, allocations: 0.5366 MB / 0.5035 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3947, allocations: 169.9 kB / 0.5036 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3948, allocations: 88.31 kB / 0.5037 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.3988, allocations: 3.792 MB / 0.5074 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3988, allocations: 0 / 0.5074 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.3989, allocations: 43.98 kB / 0.5074 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.399, allocations: 146 kB / 0.5076 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/0.4059, allocations: 6.752 MB / 0.5142 GB, free: 424 kB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.4182, allocations: 8.704 MB / 0.5227 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.4207, allocations: 1.748 MB / 0.5244 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4225, allocations: 1.348 MB / 0.5257 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.4241, allocations: 0.6337 MB / 0.5263 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4241, allocations: 38.56 kB / 0.5264 GB, free: 3.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.414e-06/0.4241, allocations: 4 kB / 0.5264 GB, free: 3.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05434/0.4785, allocations: 15.27 MB / 0.5413 GB, free: 4.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07202/0.5505, allocations: 21.97 MB / 0.5627 GB, free: 14.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5517, allocations: 0.6211 MB / 0.5633 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003502/0.552, allocations: 41.7 kB / 0.5634 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.5526, allocations: 0.5472 MB / 0.5639 GB, free: 13.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/0.5531, allocations: 245.9 kB / 0.5641 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008721/0.554, allocations: 270.5 kB / 0.5644 GB, free: 12.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5542, allocations: 382.8 kB / 0.5648 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.5576, allocations: 2.426 MB / 0.5671 GB, free: 9.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.561, allocations: 2.55 MB / 0.5696 GB, free: 7.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005201/0.5662, allocations: 3.349 MB / 0.5729 GB, free: 3.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.5662, allocations: 4 kB / 0.5729 GB, free: 3.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01662/0.5829, allocations: 6.78 MB / 0.5795 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5829, allocations: 8 kB / 0.5795 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5829, allocations: 7.938 kB / 0.5795 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/0.5971, allocations: 3.468 MB / 0.5829 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.5993, allocations: 323.5 kB / 0.5832 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.6216, allocations: 13.28 MB / 0.5962 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.6233, allocations: 75.94 kB / 0.5963 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/0.6238, allocations: 175.9 kB / 0.5964 GB, free: 11.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000894/0.6247, allocations: 334.2 kB / 0.5968 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.6251, allocations: 75.48 kB / 0.5968 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.6393, allocations: 4.426 MB / 0.6012 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01219/0.6515, allocations: 3.673 MB / 0.6047 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6515, allocations: 4 kB / 0.6047 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.6515, allocations: 3.984 kB / 0.6047 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.669, allocations: 6.87 MB / 0.6115 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.669, allocations: 4 kB / 0.6115 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.6706, allocations: 176.1 kB / 0.6116 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03023/0.7009, allocations: 3.743 MB / 0.6153 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.7011, allocations: 43.95 kB / 0.6153 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.7152, allocations: 6.312 MB / 0.6215 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05942/0.7746, allocations: 14.28 MB / 0.6354 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2053/0.9799, allocations: 5.673 MB / 0.641 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.9802, allocations: 80.5 kB / 0.641 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.9804, allocations: 21.81 kB / 0.6411 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.9816, allocations: 58.11 kB / 0.6411 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.9819, allocations: 99.81 kB / 0.6412 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.9821, allocations: 82.53 kB / 0.6413 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007109/0.9828, allocations: 0.693 MB / 0.642 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.9828, allocations: 0 / 0.642 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001736/0.9845, allocations: 0.5733 MB / 0.6425 GB, free: 160.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005938/0.9851, allocations: 357 kB / 0.6429 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005727/0.9909, allocations: 3.675 MB / 0.6465 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9909, allocations: 1.188 kB / 0.6465 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.994, allocations: 1.464 MB / 0.6479 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.9951, allocations: 199.8 kB / 0.6481 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.9993, allocations: 3.024 MB / 0.651 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.9998, allocations: 0.5349 MB / 0.6516 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009624/1.001, allocations: 261 kB / 0.6518 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/1.001, allocations: 107.9 kB / 0.6519 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/1.001, allocations: 0 / 0.6519 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.05007/1.051, allocations: 50.06 MB / 0.7008 GB, free: 111.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.622592178056948] Failed to read output from testmodel.py, exit status != 0: 1.0604713130742311 1.06955442 0.676546075 Calling exit ...