Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.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.Fluid.Examples.SimpleExamples.TestSensors,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSensors",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.8129/0.8129, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.609e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 31.98 MB / 236.8 MB, free: 5.395 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.Fluid.Examples.SimpleExamples.TestSensors): time 1.603/1.761, allocations: 296.3 MB / 0.5206 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5427/2.304, allocations: 192.8 MB / 0.7089 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/2.304, allocations: 10.28 kB / 0.7089 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/2.304, allocations: 71.78 kB / 0.709 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007002/2.305, allocations: 247.8 kB / 0.7092 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03987/2.345, allocations: 10.42 MB / 0.7194 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001679/2.347, allocations: 0.8958 MB / 0.7203 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006379/2.347, allocations: 487.9 kB / 0.7207 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/2.348, allocations: 295.3 kB / 0.721 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/2.348, allocations: 347.8 kB / 0.7214 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/2.348, allocations: 42.03 kB / 0.7214 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04194/2.39, allocations: 22.52 MB / 0.7434 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/2.391, allocations: 144.9 kB / 0.7435 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006749/2.391, allocations: 430.5 kB / 0.7439 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03316/2.424, allocations: 11.9 MB / 0.7556 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/2.425, allocations: 3.844 kB / 0.7556 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.076e-06/2.425, allocations: 4 kB / 0.7556 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.397e-05/2.425, allocations: 0 / 0.7556 GB, free: 13.15 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.007465/2.432, allocations: 2.307 MB / 0.7578 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/2.432, allocations: 11.56 kB / 0.7578 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/2.432, allocations: 147.9 kB / 0.758 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/2.432, allocations: 117.5 kB / 0.7581 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/2.433, allocations: 451.8 kB / 0.7585 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/2.433, allocations: 75.81 kB / 0.7586 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/2.433, allocations: 93.5 kB / 0.7587 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/2.435, allocations: 0.8682 MB / 0.7595 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/2.435, allocations: 0 / 0.7595 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/2.435, allocations: 43.89 kB / 0.7596 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/2.435, allocations: 27.22 kB / 0.7596 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/2.436, allocations: 0.5972 MB / 0.7602 GB, free: 10.88 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.01649/2.452, allocations: 13.08 MB / 0.7729 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/2.452, allocations: 236 kB / 0.7732 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/2.453, allocations: 55.44 kB / 0.7732 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.656/3.109, allocations: 219.3 MB / 0.9874 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/3.109, allocations: 30.56 kB / 0.9874 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 4.979e-06/3.109, allocations: 4 kB / 0.9874 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001189/3.11, allocations: 379.8 kB / 0.9878 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/3.11, allocations: 59.56 kB / 0.9879 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/3.111, allocations: 487.5 kB / 0.9883 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/3.111, allocations: 25.7 kB / 0.9883 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/3.111, allocations: 429.6 kB / 0.9888 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/3.111, allocations: 69.11 kB / 0.9888 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/3.111, allocations: 39.69 kB / 0.9889 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/3.111, allocations: 349.4 kB / 0.9892 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/3.111, allocations: 71 kB / 0.9893 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/3.111, allocations: 163.2 kB / 0.9894 GB, free: 453.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/3.112, allocations: 231.8 kB / 0.9896 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.112, allocations: 4 kB / 0.9896 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005938/3.112, allocations: 349.8 kB / 0.99 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/3.112, allocations: 9.188 kB / 0.99 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/3.112, allocations: 2.938 kB / 0.99 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008477/3.113, allocations: 146 kB / 0.9901 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/3.113, allocations: 62.22 kB / 0.9902 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/3.114, allocations: 0.5767 MB / 0.9907 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/3.114, allocations: 53.12 kB / 0.9908 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/3.114, allocations: 15.38 kB / 0.9908 GB, free: 453.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,volumetricFlowSensor.fluid,temperatureSensor.fluid,puitsP.fluid,perteDP.fluid,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/3.114, allocations: 189.7 kB / 0.991 GB, free: 453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/3.114, allocations: 48.22 kB / 0.991 GB, free: 453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/3.115, allocations: 290 kB / 0.9913 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/3.115, allocations: 0 / 0.9913 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/3.115, allocations: 3.344 kB / 0.9913 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/3.115, allocations: 1.453 kB / 0.9913 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/3.116, allocations: 0.9458 MB / 0.9922 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/3.116, allocations: 8.75 kB / 0.9922 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/3.116, allocations: 22.31 kB / 0.9923 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/3.117, allocations: 117.5 kB / 0.9924 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/3.117, allocations: 4.484 kB / 0.9924 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002981/3.117, allocations: 0.5764 MB / 0.9929 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.117, allocations: 4.062 kB / 0.993 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/3.118, allocations: 359.6 kB / 0.9933 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/3.118, allocations: 144.5 kB / 0.9934 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/3.118, allocations: 9.375 kB / 0.9934 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/3.118, allocations: 3.5 kB / 0.9934 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/3.118, allocations: 16.7 kB / 0.9935 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/3.118, allocations: 4.328 kB / 0.9935 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003003/3.119, allocations: 334.8 kB / 0.9938 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/3.119, allocations: 0 / 0.9938 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004946/3.124, allocations: 1.901 MB / 0.9956 GB, free: 451.5 MB / 0.8106 GB 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): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009468/3.133, allocations: 3.649 MB / 0.9992 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004569/3.134, allocations: 187.6 kB / 0.9994 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/3.134, allocations: 0.6875 kB / 0.9994 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/3.134, allocations: 85.97 kB / 0.9995 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/3.134, allocations: 92.73 kB / 0.9996 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/3.142, allocations: 4.848 MB / 1.004 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/3.142, allocations: 0.9034 MB / 1.005 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002641/3.143, allocations: 73.34 kB / 1.005 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/3.143, allocations: 250.5 kB / 1.005 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/3.143, allocations: 0 / 1.005 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08369/3.226, allocations: 60.84 MB / 1.065 GB, free: 399.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/3.227, allocations: 277.6 kB / 1.065 GB, free: 399.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.746/7.973, allocations: 0 / 1.065 GB, free: 399.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSensors_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSensors.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe 2>&1)