Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00187/0.00187, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002198/0.002198, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.785 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.1366/0.1366, allocations: 23.99 MB / 336.4 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfWater",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.002115/0.002115, allocations: 71.89 kB / 471.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3436, allocations: 59.88 MB / 0.5187 GB, free: 9.469 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.07237/0.4159, allocations: 25.94 MB / 0.5441 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.4286, allocations: 7.5 MB / 0.5514 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.4296, allocations: 19.88 kB / 0.5514 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.4321, allocations: 0.6756 MB / 0.5521 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.434, allocations: 0.5885 MB / 0.5526 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.4364, allocations: 0.8036 MB / 0.5534 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.4387, allocations: 1.144 MB / 0.5545 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.4391, allocations: 169.7 kB / 0.5547 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005908/0.4397, allocations: 403.2 kB / 0.5551 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.4405, allocations: 483.9 kB / 0.5555 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.4406, allocations: 84 kB / 0.5556 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.4432, allocations: 0.9361 MB / 0.5565 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.4435, allocations: 263.3 kB / 0.5568 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.444, allocations: 405.8 kB / 0.5572 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.4482, allocations: 2.289 MB / 0.5594 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4482, allocations: 0 / 0.5594 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4482, allocations: 0 / 0.5594 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.4482, allocations: 4 kB / 0.5594 GB, free: 15.81 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002596/0.4508, allocations: 1.407 MB / 0.5608 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4508, allocations: 8.031 kB / 0.5608 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.451, allocations: 155.2 kB / 0.5609 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.4515, allocations: 205.5 kB / 0.5611 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.4524, allocations: 0.4943 MB / 0.5616 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.4525, allocations: 134 kB / 0.5617 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4527, allocations: 88.36 kB / 0.5618 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.4566, allocations: 3.218 MB / 0.565 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.4566, allocations: 0 / 0.565 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.4567, allocations: 36 kB / 0.565 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.4568, allocations: 134.1 kB / 0.5651 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.4639, allocations: 6.233 MB / 0.5712 GB, free: 3.789 MB / 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.008498/0.4724, allocations: 4.837 MB / 0.5759 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/0.4732, allocations: 406.5 kB / 0.5763 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.4736, allocations: 256.8 kB / 0.5766 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004373/0.478, allocations: 2.141 MB / 0.5787 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.478, allocations: 38.78 kB / 0.5787 GB, free: 12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.478, allocations: 3.938 kB / 0.5787 GB, free: 11.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.01728/0.4953, allocations: 3.945 MB / 0.5826 GB, free: 7.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4954, allocations: 59.41 kB / 0.5826 GB, free: 7.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.4964, allocations: 0.7307 MB / 0.5833 GB, free: 7.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/0.4964, allocations: 33.7 kB / 0.5834 GB, free: 7.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.4969, allocations: 0.6357 MB / 0.584 GB, free: 6.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.4971, allocations: 174.5 kB / 0.5842 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.4975, allocations: 226.5 kB / 0.5844 GB, free: 6.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4977, allocations: 394.7 kB / 0.5847 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.4982, allocations: 289.9 kB / 0.585 GB, free: 5.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.499, allocations: 0.6574 MB / 0.5857 GB, free: 4.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5005, allocations: 1.034 MB / 0.5867 GB, free: 3.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5005, allocations: 4 kB / 0.5867 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005157/0.5057, allocations: 1.509 MB / 0.5882 GB, free: 1.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.5057, allocations: 12 kB / 0.5882 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5057, allocations: 15.94 kB / 0.5882 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004517/0.5102, allocations: 0.6465 MB / 0.5888 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5117, allocations: 359.6 kB / 0.5892 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.5158, allocations: 2.852 MB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.5165, allocations: 44.03 kB / 0.592 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.5167, allocations: 128 kB / 0.5921 GB, free: 13.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.5174, allocations: 361.9 kB / 0.5924 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.5176, allocations: 75.48 kB / 0.5925 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.5228, allocations: 1.431 MB / 0.5939 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5228, allocations: 4 kB / 0.5939 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5228, allocations: 7.984 kB / 0.5939 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5228, allocations: 0 / 0.5939 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.5243, allocations: 1.025 MB / 0.5949 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.5243, allocations: 4 kB / 0.5949 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.5255, allocations: 251.9 kB / 0.5952 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004215/0.5298, allocations: 0.5408 MB / 0.5957 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.5298, allocations: 35.97 kB / 0.5957 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.5363, allocations: 4.154 MB / 0.5998 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.5363, allocations: 4 kB / 0.5998 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.5413, allocations: 1.524 MB / 0.6013 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.5415, allocations: 71.44 kB / 0.6014 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5416, allocations: 8 kB / 0.6014 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.542, allocations: 23.98 kB / 0.6014 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5422, allocations: 68.22 kB / 0.6014 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.5422, allocations: 47.98 kB / 0.6015 GB, free: 3.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.5429, allocations: 0.499 MB / 0.602 GB, free: 3.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5429, allocations: 4.062 kB / 0.602 GB, free: 3.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001151/0.5441, allocations: 295.6 kB / 0.6023 GB, free: 2.758 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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 {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005855/0.5499, allocations: 2.322 MB / 0.6045 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.5524, allocations: 0.9715 MB / 0.6055 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5524, allocations: 0 / 0.6055 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.5538, allocations: 0.625 MB / 0.6061 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.5548, allocations: 187.5 kB / 0.6063 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.574, allocations: 8.725 MB / 0.6148 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.5746, allocations: 0.5106 MB / 0.6153 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.5757, allocations: 329.8 kB / 0.6156 GB, free: 4.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/0.5765, allocations: 495.2 kB / 0.6161 GB, free: 3.941 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5765, allocations: 0 / 0.6161 GB, free: 3.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07075/0.6472, allocations: 29.4 MB / 0.6448 GB, free: 6.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.11, allocations: 0 / 0.6448 GB, free: 6.785 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.824560730252415] Failed to read output from testmodel.py, exit status != 0: 15.24949761480093 15.275620752 14.822458694 Calling exit ...