Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001388/0.001388, allocations: 103 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.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.001474/0.001474, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] 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.1592/0.1592, allocations: 23.88 MB / 332.7 MB, free: 12.33 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.002344/0.002344, allocations: 67.91 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4404, allocations: 59.83 MB / 0.5135 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006369/0.4468, allocations: 4.296 MB / 0.5177 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.4593, allocations: 8.753 MB / 0.5263 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.4608, allocations: 13.38 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.4617, allocations: 183.5 kB / 0.5265 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.4652, allocations: 0.7879 MB / 0.5272 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.4694, allocations: 1.013 MB / 0.5282 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.4714, allocations: 0.8855 MB / 0.5291 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.4722, allocations: 429.8 kB / 0.5295 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.473, allocations: 449.5 kB / 0.5299 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000893/0.4739, allocations: 487.7 kB / 0.5304 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.4741, allocations: 77.41 kB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.4786, allocations: 0.9054 MB / 0.5313 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.4789, allocations: 179.2 kB / 0.5315 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.4795, allocations: 412 kB / 0.5319 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006189/0.4857, allocations: 1.836 MB / 0.5337 GB, free: 12.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4857, allocations: 0.6094 kB / 0.5337 GB, free: 12.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4857, allocations: 1.125 kB / 0.5337 GB, free: 12.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4857, allocations: 4 kB / 0.5337 GB, free: 12.07 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002752/0.4885, allocations: 1.174 MB / 0.5349 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4885, allocations: 10.59 kB / 0.5349 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.4887, allocations: 111.1 kB / 0.535 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.4895, allocations: 150.5 kB / 0.5351 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.4905, allocations: 470.3 kB / 0.5356 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.4905, allocations: 52.16 kB / 0.5356 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4907, allocations: 69.06 kB / 0.5357 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.4923, allocations: 0.758 MB / 0.5364 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4923, allocations: 0 / 0.5364 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.4924, allocations: 30.19 kB / 0.5364 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.4924, allocations: 21.19 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4941, allocations: 0.872 MB / 0.5373 GB, free: 10.14 MB / 398.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.004749/0.4989, allocations: 2.341 MB / 0.5396 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.5009, allocations: 0.9755 MB / 0.5406 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.5014, allocations: 255.8 kB / 0.5408 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005394/0.5068, allocations: 2.855 MB / 0.5436 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5068, allocations: 43.41 kB / 0.5436 GB, free: 5.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.5068, allocations: 1.156 kB / 0.5436 GB, free: 5.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01598/0.5228, allocations: 2.819 MB / 0.5464 GB, free: 4.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.5229, allocations: 57.88 kB / 0.5464 GB, free: 4.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/0.5236, allocations: 414.9 kB / 0.5468 GB, free: 3.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.5237, allocations: 34.89 kB / 0.5469 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.524, allocations: 371 kB / 0.5472 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.5243, allocations: 206 kB / 0.5474 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.5246, allocations: 148.8 kB / 0.5476 GB, free: 3.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.5248, allocations: 358.2 kB / 0.5479 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.5253, allocations: 213.3 kB / 0.5481 GB, free: 2.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.526, allocations: 464.6 kB / 0.5485 GB, free: 2.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.5273, allocations: 0.7188 MB / 0.5492 GB, free: 1.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5273, allocations: 2.25 kB / 0.5492 GB, free: 1.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004955/0.5323, allocations: 1.136 MB / 0.5504 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.5323, allocations: 8.688 kB / 0.5504 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5323, allocations: 12.19 kB / 0.5504 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003671/0.536, allocations: 439.4 kB / 0.5508 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.5366, allocations: 159.6 kB / 0.551 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008655/0.5453, allocations: 4.636 MB / 0.5555 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.546, allocations: 41.17 kB / 0.5555 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.5462, allocations: 40.28 kB / 0.5556 GB, free: 12.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.5467, allocations: 207 kB / 0.5558 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.547, allocations: 56.28 kB / 0.5558 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.5527, allocations: 1.084 MB / 0.5569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5527, allocations: 6.375 kB / 0.5569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5528, allocations: 6.438 kB / 0.5569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.5528, allocations: 7.922 kB / 0.5569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/0.5599, allocations: 1.8 MB / 0.5586 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.5599, allocations: 2.688 kB / 0.5586 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.5603, allocations: 94.36 kB / 0.5587 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/0.5649, allocations: 0.4968 MB / 0.5592 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.565, allocations: 30.86 kB / 0.5592 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009756/0.5748, allocations: 5.966 MB / 0.5651 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5748, allocations: 0 / 0.5651 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.5808, allocations: 1.405 MB / 0.5664 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.5811, allocations: 132.8 kB / 0.5666 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.5813, allocations: 12 kB / 0.5666 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.5818, allocations: 16 kB / 0.5666 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.582, allocations: 64.5 kB / 0.5667 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.5821, allocations: 27.98 kB / 0.5667 GB, free: 2.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.5825, allocations: 267.2 kB / 0.5669 GB, free: 2.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5825, allocations: 0 / 0.5669 GB, free: 2.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001996/0.5845, allocations: 399.1 kB / 0.5673 GB, free: 2.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00762/0.5921, allocations: 2.304 MB / 0.5696 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.5942, allocations: 0.8657 MB / 0.5704 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5942, allocations: 0 / 0.5704 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.5957, allocations: 0.7065 MB / 0.5711 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5969, allocations: 156.5 kB / 0.5713 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.6131, allocations: 6.09 MB / 0.5772 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.6138, allocations: 0.8952 MB / 0.5781 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.6143, allocations: 132.3 kB / 0.5782 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.6147, allocations: 278.4 kB / 0.5785 GB, free: 6.262 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6147, allocations: 0 / 0.5785 GB, free: 6.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/0.6901, allocations: 21.95 MB / 0.5999 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.51, allocations: 2.656 kB / 0.5999 GB, free: 0.5273 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.491969030117616] Failed to read output from testmodel.py, exit status != 0: 15.622117311926559 15.636055276 15.147096384 Calling exit ...