Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_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.Test2_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_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.7522/0.7522, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.321e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 31.98 MB / 236.9 MB, free: 5.215 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.Test2_IF97): time 1.354/1.488, allocations: 295.7 MB / 0.52 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1659/1.654, allocations: 185.5 MB / 0.7012 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/1.654, allocations: 4 kB / 0.7012 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/1.654, allocations: 115.2 kB / 0.7013 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/1.655, allocations: 174.7 kB / 0.7014 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2486/1.903, allocations: 8.868 MB / 0.7101 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006758/1.904, allocations: 0.7157 MB / 0.7108 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/1.904, allocations: 224.5 kB / 0.711 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/1.905, allocations: 253 kB / 0.7113 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/1.905, allocations: 232.4 kB / 0.7115 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/1.905, allocations: 20.66 kB / 0.7115 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02474/1.93, allocations: 20.16 MB / 0.7312 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/1.93, allocations: 84.22 kB / 0.7313 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003303/1.93, allocations: 295.5 kB / 0.7315 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/1.944, allocations: 9.983 MB / 0.7413 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.944, allocations: 3.875 kB / 0.7413 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.395e-06/1.944, allocations: 4.969 kB / 0.7413 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.944, allocations: 3.094 kB / 0.7413 GB, free: 1.773 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003236/1.947, allocations: 1.88 MB / 0.7431 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/1.947, allocations: 8.312 kB / 0.7432 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/1.948, allocations: 93.33 kB / 0.7432 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/1.948, allocations: 66.44 kB / 0.7433 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/1.948, allocations: 342 kB / 0.7436 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/1.948, allocations: 29.59 kB / 0.7437 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/1.948, allocations: 54.8 kB / 0.7437 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/1.949, allocations: 0.6119 MB / 0.7443 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.949, allocations: 7.5 kB / 0.7443 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/1.949, allocations: 20.78 kB / 0.7443 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/1.949, allocations: 32.05 kB / 0.7444 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/1.949, allocations: 406.4 kB / 0.7448 GB, free: 15.85 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.0183/1.968, allocations: 12.2 MB / 0.7567 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/1.968, allocations: 281.3 kB / 0.7569 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/1.968, allocations: 192.4 kB / 0.7571 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2993/2.268, allocations: 151.7 MB / 0.9053 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/2.268, allocations: 40.17 kB / 0.9053 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 1.924e-06/2.268, allocations: 0 / 0.9053 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002509/2.27, allocations: 0.9194 MB / 0.9062 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/2.27, allocations: 81.11 kB / 0.9063 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/2.271, allocations: 382.9 kB / 0.9067 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/2.271, allocations: 29.27 kB / 0.9067 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/2.271, allocations: 259.5 kB / 0.907 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/2.271, allocations: 224.5 kB / 0.9072 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/2.271, allocations: 63.8 kB / 0.9072 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001154/2.271, allocations: 357.2 kB / 0.9076 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/2.271, allocations: 152.3 kB / 0.9077 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/2.272, allocations: 316.7 kB / 0.908 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/2.272, allocations: 0.5036 MB / 0.9085 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.272, allocations: 0 / 0.9085 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009957/2.273, allocations: 0.6696 MB / 0.9092 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/2.273, allocations: 11.11 kB / 0.9092 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/2.273, allocations: 4 kB / 0.9092 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/2.275, allocations: 0.54 MB / 0.9097 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/2.275, allocations: 49.59 kB / 0.9098 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/2.276, allocations: 0.8905 MB / 0.9106 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/2.277, allocations: 78.78 kB / 0.9107 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/2.277, allocations: 19.75 kB / 0.9107 GB, free: 3.078 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 (perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,sourceP.C.b,puitsP.C.a,volumeD.Cs2.a,volumeD.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001727/2.277, allocations: 168.9 kB / 0.9109 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/2.277, allocations: 43.44 kB / 0.9109 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/2.278, allocations: 1.36 MB / 0.9123 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001068/2.279, allocations: 0.7188 MB / 0.913 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/2.279, allocations: 4.812 kB / 0.913 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.279, allocations: 0.5625 kB / 0.913 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/2.282, allocations: 1.788 MB / 0.9147 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.282, allocations: 0 / 0.9147 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/2.282, allocations: 86.55 kB / 0.9148 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/2.283, allocations: 429 kB / 0.9152 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/2.283, allocations: 22.98 kB / 0.9152 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006179/2.284, allocations: 0.8381 MB / 0.916 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/2.284, allocations: 0 / 0.916 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/2.285, allocations: 1.156 MB / 0.9172 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/2.286, allocations: 186.2 kB / 0.9173 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/2.286, allocations: 14.28 kB / 0.9174 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/2.286, allocations: 40.7 kB / 0.9174 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/2.286, allocations: 36.08 kB / 0.9174 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/2.286, allocations: 15.81 kB / 0.9174 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002483/2.286, allocations: 289.7 kB / 0.9177 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/2.286, allocations: 0 / 0.9177 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003252/2.29, allocations: 1.552 MB / 0.9192 GB, free: 12.15 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volumeD.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 (50): * Single equations (assignments): 47 * 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 {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007168/2.297, allocations: 3.929 MB / 0.9231 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001187/2.298, allocations: 0.7283 MB / 0.9238 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/2.298, allocations: 192 / 0.9238 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/2.299, allocations: 360.8 kB / 0.9241 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/2.3, allocations: 255.1 kB / 0.9244 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/2.307, allocations: 5.619 MB / 0.9299 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/2.307, allocations: 0.9283 MB / 0.9308 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002497/2.307, allocations: 60.16 kB / 0.9308 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/2.308, allocations: 262.2 kB / 0.9311 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/2.308, allocations: 3.938 kB / 0.9311 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.267/5.575, allocations: 61.58 MB / 0.9912 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/5.575, allocations: 295.1 kB / 0.9915 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.931/10.51, allocations: 2.156 kB / 0.9915 GB, free: 458.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe 2>&1)