Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001355/0.001355, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001616/0.001616, allocations: 220 kB / 23.05 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8 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.1584/0.1584, allocations: 23.85 MB / 337.1 MB, free: 11.21 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",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.002905/0.002905, allocations: 63.91 kB / 471.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4436, allocations: 59.86 MB / 0.5193 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004665/0.4483, allocations: 4.313 MB / 0.5236 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.4571, allocations: 8.773 MB / 0.5321 GB, free: 208 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.4577, allocations: 13.28 kB / 0.5321 GB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.4583, allocations: 184 kB / 0.5323 GB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.461, allocations: 0.8009 MB / 0.5331 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.4643, allocations: 1.022 MB / 0.5341 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.466, allocations: 0.8856 MB / 0.535 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007659/0.4667, allocations: 426.2 kB / 0.5354 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.4674, allocations: 453.5 kB / 0.5358 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.4682, allocations: 484.8 kB / 0.5363 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.4683, allocations: 79.84 kB / 0.5363 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.4719, allocations: 0.906 MB / 0.5372 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4722, allocations: 177.8 kB / 0.5374 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.4729, allocations: 416.2 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00574/0.4786, allocations: 1.837 MB / 0.5396 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4786, allocations: 1.312 kB / 0.5396 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4786, allocations: 0 / 0.5396 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.4786, allocations: 0 / 0.5396 GB, free: 12.63 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.002547/0.4812, allocations: 1.101 MB / 0.5407 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4812, allocations: 10.42 kB / 0.5407 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.395e-05/0.4813, allocations: 21.31 kB / 0.5407 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.4814, allocations: 108.1 kB / 0.5408 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/0.4822, allocations: 153 kB / 0.5409 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4832, allocations: 405.9 kB / 0.5413 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.4832, allocations: 57.88 kB / 0.5414 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.4834, allocations: 69.03 kB / 0.5414 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4848, allocations: 0.7605 MB / 0.5422 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4848, allocations: 0 / 0.5422 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.4849, allocations: 26.88 kB / 0.5422 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4849, allocations: 16.61 kB / 0.5422 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.4865, allocations: 0.8715 MB / 0.5431 GB, free: 10.85 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.004457/0.491, allocations: 2.315 MB / 0.5453 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.4927, allocations: 0.8136 MB / 0.5461 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.4932, allocations: 260.4 kB / 0.5464 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.4973, allocations: 1.597 MB / 0.5479 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.4974, allocations: 40.56 kB / 0.548 GB, free: 8.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.4974, allocations: 0 / 0.548 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01605/0.5134, allocations: 2.661 MB / 0.5506 GB, free: 6.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5135, allocations: 56.69 kB / 0.5506 GB, free: 6.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.5141, allocations: 415.3 kB / 0.551 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-05/0.5142, allocations: 35.08 kB / 0.5511 GB, free: 6.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.5145, allocations: 374.6 kB / 0.5514 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.5147, allocations: 206.2 kB / 0.5516 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5149, allocations: 148.7 kB / 0.5518 GB, free: 5.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.5152, allocations: 357.9 kB / 0.5521 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.5156, allocations: 205.9 kB / 0.5523 GB, free: 5.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.5162, allocations: 467.8 kB / 0.5527 GB, free: 4.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5174, allocations: 0.7191 MB / 0.5534 GB, free: 4.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.5174, allocations: 2.625 kB / 0.5534 GB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004858/0.5222, allocations: 1.132 MB / 0.5545 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.5223, allocations: 8.812 kB / 0.5546 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.5223, allocations: 9 kB / 0.5546 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/0.526, allocations: 452.1 kB / 0.555 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.5266, allocations: 155.5 kB / 0.5551 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00848/0.5351, allocations: 4.452 MB / 0.5595 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.5358, allocations: 24.66 kB / 0.5595 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.5359, allocations: 41.11 kB / 0.5596 GB, free: 15.56 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.0004779/0.5364, allocations: 210.8 kB / 0.5598 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5366, allocations: 56.94 kB / 0.5598 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.542, allocations: 1.078 MB / 0.5609 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.542, allocations: 4 kB / 0.5609 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5421, allocations: 4 kB / 0.5609 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5421, allocations: 11.92 kB / 0.5609 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.5486, allocations: 1.787 MB / 0.5626 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5486, allocations: 0 / 0.5626 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.5489, allocations: 87.91 kB / 0.5627 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004544/0.5535, allocations: 0.506 MB / 0.5632 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.5536, allocations: 16 kB / 0.5632 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00904/0.5626, allocations: 5.644 MB / 0.5687 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.5626, allocations: 4.031 kB / 0.5687 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/0.5685, allocations: 1.403 MB / 0.5701 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.5687, allocations: 59.7 kB / 0.5702 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.5689, allocations: 16 kB / 0.5702 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.5693, allocations: 19.97 kB / 0.5702 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.5695, allocations: 64.33 kB / 0.5703 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.5695, allocations: 20 kB / 0.5703 GB, free: 4.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.5699, allocations: 271.1 kB / 0.5705 GB, free: 4.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5699, allocations: 0 / 0.5705 GB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001691/0.5716, allocations: 407.1 kB / 0.5709 GB, free: 3.91 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.007433/0.579, allocations: 2.299 MB / 0.5732 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.581, allocations: 0.8694 MB / 0.574 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.581, allocations: 0 / 0.574 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.5822, allocations: 0.7061 MB / 0.5747 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.5832, allocations: 140.1 kB / 0.5748 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.5985, allocations: 6.093 MB / 0.5808 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.5992, allocations: 0.8991 MB / 0.5817 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005574/0.5997, allocations: 132.7 kB / 0.5818 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.6002, allocations: 282.2 kB / 0.5821 GB, free: 8 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6002, allocations: 3.938 kB / 0.5821 GB, free: 7.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06621/0.6664, allocations: 22.67 MB / 0.6042 GB, free: 1.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/15.97, allocations: 4.062 kB / 0.6042 GB, free: 1.555 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.016468574060127] Failed to read output from testmodel.py, exit status != 0: 16.16278447001241 16.1882971 15.704699105 Calling exit ...