Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.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.calculette_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",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.7975/0.7975, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003032, allocations: 14.98 kB / 236.6 MB, free: 2.039 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05066/0.05098, allocations: 31.34 MB / 267.9 MB, free: 7.578 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T): time 1.569/1.62, allocations: 293.7 MB / 0.5484 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/1.624, allocations: 3.28 MB / 0.5516 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/1.624, allocations: 0 / 0.5516 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/1.624, allocations: 7.938 kB / 0.5516 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/1.624, allocations: 15.84 kB / 0.5516 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.625, allocations: 437.8 kB / 0.552 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.74e-05/1.625, allocations: 51.67 kB / 0.5521 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/1.625, allocations: 23.95 kB / 0.5521 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.2e-05/1.625, allocations: 19.94 kB / 0.5521 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/1.625, allocations: 27.91 kB / 0.5522 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/1.625, allocations: 0 / 0.5522 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/1.626, allocations: 359.5 kB / 0.5525 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/1.626, allocations: 3.938 kB / 0.5525 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/1.626, allocations: 23.92 kB / 0.5525 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006432/1.627, allocations: 379.1 kB / 0.5529 GB, free: 9.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.627, allocations: 0 / 0.5529 GB, free: 9.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.627, allocations: 4 kB / 0.5529 GB, free: 9.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/1.627, allocations: 0 / 0.5529 GB, free: 9.375 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004767/1.627, allocations: 407.3 kB / 0.5533 GB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.627, allocations: 8.031 kB / 0.5533 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/1.627, allocations: 38.75 kB / 0.5533 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/1.628, allocations: 12.78 kB / 0.5533 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.628, allocations: 168.3 kB / 0.5535 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/1.628, allocations: 4.375 kB / 0.5535 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/1.628, allocations: 8.375 kB / 0.5535 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/1.628, allocations: 69.78 kB / 0.5536 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.628, allocations: 0 / 0.5536 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.628, allocations: 0 / 0.5536 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.628, allocations: 0 / 0.5536 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.628, allocations: 91.83 kB / 0.5537 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/1.628, allocations: 173.6 kB / 0.5538 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/1.628, allocations: 76.61 kB / 0.5539 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/1.628, allocations: 32.84 kB / 0.5539 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/1.63, allocations: 2.62 MB / 0.5565 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.63, allocations: 38.5 kB / 0.5565 GB, free: 4.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/1.63, allocations: 0 / 0.5565 GB, free: 4.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002665/1.63, allocations: 117.8 kB / 0.5566 GB, free: 4.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/1.63, allocations: 59.34 kB / 0.5567 GB, free: 4.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/1.63, allocations: 97.86 kB / 0.5568 GB, free: 4.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.63, allocations: 25.7 kB / 0.5568 GB, free: 4.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/1.631, allocations: 92.12 kB / 0.5569 GB, free: 4.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/1.631, allocations: 35.41 kB / 0.5569 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/1.631, allocations: 25.7 kB / 0.557 GB, free: 4.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/1.631, allocations: 318.8 kB / 0.5573 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/1.631, allocations: 20 kB / 0.5573 GB, free: 4.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/1.631, allocations: 23.98 kB / 0.5573 GB, free: 4.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/1.631, allocations: 57.44 kB / 0.5574 GB, free: 3.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.631, allocations: 0 / 0.5574 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001457/1.631, allocations: 97.41 kB / 0.5575 GB, free: 3.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.631, allocations: 8 kB / 0.5575 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.631, allocations: 0 / 0.5575 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.631, allocations: 0 / 0.5575 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.631, allocations: 19.98 kB / 0.5575 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.631, allocations: 0 / 0.5575 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/1.631, allocations: 12 kB / 0.5575 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/1.631, allocations: 0 / 0.5575 GB, free: 3.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/1.631, allocations: 122.3 kB / 0.5576 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/1.631, allocations: 11.84 kB / 0.5576 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/1.632, allocations: 133.3 kB / 0.5577 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.632, allocations: 0 / 0.5577 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.632, allocations: 4 kB / 0.5578 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.632, allocations: 0 / 0.5578 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/1.632, allocations: 185.5 kB / 0.5579 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.632, allocations: 0 / 0.5579 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/1.632, allocations: 27.86 kB / 0.558 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.632, allocations: 0 / 0.558 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.632, allocations: 4 kB / 0.558 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.632, allocations: 0 / 0.558 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.632, allocations: 0 / 0.558 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/1.632, allocations: 129 kB / 0.5581 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/1.632, allocations: 85.05 kB / 0.5582 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/1.632, allocations: 4 kB / 0.5582 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/1.632, allocations: 0 / 0.5582 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/1.632, allocations: 11.92 kB / 0.5582 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/1.632, allocations: 8 kB / 0.5582 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.946e-05/1.632, allocations: 83.27 kB / 0.5583 GB, free: 2.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.632, allocations: 0 / 0.5583 GB, free: 2.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003438/1.633, allocations: 111.9 kB / 0.5584 GB, free: 2.832 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007608/1.633, allocations: 0.8728 MB / 0.5592 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/1.634, allocations: 59.91 kB / 0.5593 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.634, allocations: 0 / 0.5593 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/1.634, allocations: 39.92 kB / 0.5593 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/1.634, allocations: 23.23 kB / 0.5593 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.635, allocations: 1.348 MB / 0.5607 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/1.635, allocations: 0.6846 MB / 0.5613 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/1.635, allocations: 12.42 kB / 0.5613 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/1.635, allocations: 27.36 kB / 0.5614 GB, free: 15.64 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/1.635, allocations: 0 / 0.5614 GB, free: 15.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/1.657, allocations: 5.272 MB / 0.5665 GB, free: 10.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/8.983, allocations: 4 kB / 0.5665 GB, free: 10.49 MB / 462.1 MB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)