Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test3_IF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test3_IF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9352/0.9352, allocations: 150.8 MB / 166.1 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.684e-05, allocations: 4 kB / 204.9 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 31.98 MB / 236.8 MB, free: 5.363 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97): time 1.659/1.822, allocations: 299.3 MB / 0.5235 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.515/2.337, allocations: 186.9 MB / 0.706 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009854/2.338, allocations: 10.78 kB / 0.706 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/2.339, allocations: 272.6 kB / 0.7063 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/2.341, allocations: 0.526 MB / 0.7068 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02721/2.368, allocations: 9.326 MB / 0.7159 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002469/2.371, allocations: 1.987 MB / 0.7179 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/2.372, allocations: 0.6705 MB / 0.7185 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/2.373, allocations: 0.6674 MB / 0.7192 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009414/2.374, allocations: 0.6691 MB / 0.7198 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/2.374, allocations: 54.06 kB / 0.7199 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0314/2.405, allocations: 20.19 MB / 0.7396 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006713/2.406, allocations: 234.3 kB / 0.7398 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/2.408, allocations: 0.7606 MB / 0.7406 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02603/2.434, allocations: 11.06 MB / 0.7514 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/2.434, allocations: 0 / 0.7514 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/2.434, allocations: 0 / 0.7514 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.88e-05/2.434, allocations: 0 / 0.7514 GB, free: 14.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.0064/2.441, allocations: 2.747 MB / 0.754 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/2.441, allocations: 11.31 kB / 0.7541 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/2.441, allocations: 218 kB / 0.7543 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/2.441, allocations: 184.3 kB / 0.7544 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/2.442, allocations: 0.6637 MB / 0.7551 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/2.442, allocations: 88.89 kB / 0.7552 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/2.442, allocations: 125.7 kB / 0.7553 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/2.444, allocations: 1.669 MB / 0.7569 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/2.444, allocations: 6.562 kB / 0.7569 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/2.444, allocations: 51.88 kB / 0.757 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/2.444, allocations: 64.86 kB / 0.757 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/2.446, allocations: 1.179 MB / 0.7582 GB, free: 11.01 MB / 0.5919 GB 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.0767/2.523, allocations: 42.7 MB / 0.7999 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/2.525, allocations: 0.895 MB / 0.8008 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/2.526, allocations: 0.6267 MB / 0.8014 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3062/2.832, allocations: 151.8 MB / 0.9496 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.832, allocations: 34.84 kB / 0.9496 GB, free: 13.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=197): time 3.226e-06/2.832, allocations: 4 kB / 0.9496 GB, free: 13.35 MB / 0.795 GB Notification: Performance of matching and sorting (n=197): time 0.01751/2.849, allocations: 4.399 MB / 0.9539 GB, free: 9.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/2.85, allocations: 112.1 kB / 0.954 GB, free: 9.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/2.851, allocations: 0.8431 MB / 0.9548 GB, free: 8.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/2.851, allocations: 41.7 kB / 0.9549 GB, free: 8.703 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/2.851, allocations: 0.5675 MB / 0.9554 GB, free: 8.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/2.851, allocations: 0.6428 MB / 0.9561 GB, free: 7.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/2.852, allocations: 149.6 kB / 0.9562 GB, free: 7.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/2.852, allocations: 306.8 kB / 0.9565 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/2.853, allocations: 498.8 kB / 0.957 GB, free: 6.559 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/2.854, allocations: 0.8194 MB / 0.9578 GB, free: 5.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/2.856, allocations: 1.437 MB / 0.9592 GB, free: 4.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/2.856, allocations: 4 kB / 0.9592 GB, free: 4.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.003303/2.86, allocations: 1.933 MB / 0.9611 GB, free: 2.203 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/2.86, allocations: 8.938 kB / 0.9611 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/2.86, allocations: 12 kB / 0.9611 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007758/2.867, allocations: 2.566 MB / 0.9636 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/2.868, allocations: 127.5 kB / 0.9637 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/2.871, allocations: 1.859 MB / 0.9655 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/2.872, allocations: 206.1 kB / 0.9657 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/2.872, allocations: 48 kB / 0.9658 GB, free: 13.37 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,sinkP1.C.a,lumpedStraightPipe2.C2.b,lumpedStraightPipe2.C1.a,sinkP.C.a,controlValve4.C2.b,controlValve4.C1.a,controlValve3.C2.b,controlValve3.C1.a,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,controlValve.C2.b,controlValve.C1.a,lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP1.C.b,sourceP.C.b,volumeA.Ce1.b,volumeC.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(18,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/2.873, allocations: 292.7 kB / 0.9661 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/2.873, allocations: 130.2 kB / 0.9662 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/2.879, allocations: 5.731 MB / 0.9718 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00328/2.883, allocations: 2.046 MB / 0.9738 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/2.883, allocations: 0 / 0.9738 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/2.883, allocations: 7.969 kB / 0.9738 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007528/2.89, allocations: 4.756 MB / 0.9784 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/2.89, allocations: 0 / 0.9784 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1762/3.067, allocations: 238.7 kB / 0.9787 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006416/3.073, allocations: 2.011 MB / 0.9806 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003371/3.074, allocations: 32.97 kB / 0.9807 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/3.076, allocations: 1.861 MB / 0.9825 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/3.076, allocations: 0.7031 kB / 0.9825 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/3.082, allocations: 3.139 MB / 0.9855 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/3.082, allocations: 406.6 kB / 0.9859 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/3.083, allocations: 30.94 kB / 0.986 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/3.083, allocations: 101.1 kB / 0.986 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/3.083, allocations: 110 kB / 0.9862 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/3.084, allocations: 40.81 kB / 0.9862 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007335/3.084, allocations: 0.6925 MB / 0.9869 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/3.084, allocations: 0.5312 kB / 0.9869 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004373/3.089, allocations: 1.822 MB / 0.9886 GB, free: 457.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeC.h,volumeA.h) * 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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(15,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01156/3.1, allocations: 5.951 MB / 0.9945 GB, free: 456.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004065/3.104, allocations: 2.234 MB / 0.9966 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/3.104, allocations: 0 / 0.9966 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/3.106, allocations: 1.078 MB / 0.9977 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/3.11, allocations: 0.6615 MB / 0.9983 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/3.128, allocations: 13.37 MB / 1.011 GB, free: 451.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/3.129, allocations: 1.398 MB / 1.013 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008001/3.129, allocations: 149.4 kB / 1.013 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/3.13, allocations: 0.7495 MB / 1.014 GB, free: 450 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/3.13, allocations: 4 kB / 1.014 GB, free: 450 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/3.239, allocations: 88.96 MB / 1.101 GB, free: 371.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/3.24, allocations: 295.3 kB / 1.101 GB, free: 371.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.43/8.67, allocations: 4 kB / 1.101 GB, free: 371.3 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test3_IF97_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test3_IF97.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe 2>&1)