Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSensors,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSensors,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.7786/0.7786, allocations: 150.8 MB / 166.1 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.749e-05, allocations: 4 kB / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 31.98 MB / 236.8 MB, free: 5.391 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.Examples.SimpleExamples.TestSensors): time 1.46/1.6, allocations: 295.8 MB / 0.5201 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.171/1.771, allocations: 185.5 MB / 0.7013 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/1.771, allocations: 4 kB / 0.7013 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/1.771, allocations: 123.2 kB / 0.7014 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/1.772, allocations: 174.7 kB / 0.7016 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2736/2.045, allocations: 8.855 MB / 0.7103 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008261/2.046, allocations: 0.6832 MB / 0.7109 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/2.046, allocations: 264.5 kB / 0.7112 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/2.047, allocations: 244.4 kB / 0.7114 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/2.047, allocations: 229.9 kB / 0.7116 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/2.047, allocations: 20.94 kB / 0.7117 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02752/2.074, allocations: 20.15 MB / 0.7313 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/2.075, allocations: 79.89 kB / 0.7314 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/2.075, allocations: 305.8 kB / 0.7317 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/2.093, allocations: 10.04 MB / 0.7415 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/2.093, allocations: 0 / 0.7415 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/2.093, allocations: 0 / 0.7415 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.375e-06/2.093, allocations: 0 / 0.7415 GB, free: 1.863 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003987/2.097, allocations: 1.847 MB / 0.7433 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/2.097, allocations: 10.03 kB / 0.7433 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/2.097, allocations: 107.7 kB / 0.7434 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/2.097, allocations: 69.56 kB / 0.7435 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/2.098, allocations: 339.7 kB / 0.7438 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/2.098, allocations: 37.03 kB / 0.7438 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/2.098, allocations: 54.72 kB / 0.7439 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/2.098, allocations: 0.6714 MB / 0.7446 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/2.098, allocations: 6.25 kB / 0.7446 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/2.099, allocations: 23.53 kB / 0.7446 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/2.099, allocations: 30.06 kB / 0.7446 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/2.099, allocations: 396.2 kB / 0.745 GB, free: 15.94 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.03562/2.135, allocations: 20.83 MB / 0.7653 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/2.135, allocations: 236.7 kB / 0.7656 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/2.135, allocations: 166.2 kB / 0.7657 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2955/2.431, allocations: 151.7 MB / 0.9139 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/2.431, allocations: 38.56 kB / 0.9139 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=62): time 2.214e-06/2.431, allocations: 0 / 0.9139 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=62): time 0.001825/2.433, allocations: 0.7547 MB / 0.9147 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/2.433, allocations: 51.41 kB / 0.9147 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/2.433, allocations: 397.4 kB / 0.9151 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/2.433, allocations: 31.12 kB / 0.9151 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/2.433, allocations: 267.8 kB / 0.9154 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/2.434, allocations: 205.9 kB / 0.9156 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/2.434, allocations: 59.92 kB / 0.9156 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001388/2.434, allocations: 357.3 kB / 0.916 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/2.434, allocations: 143.4 kB / 0.9161 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/2.434, allocations: 268.7 kB / 0.9164 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/2.435, allocations: 460.4 kB / 0.9168 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/2.435, allocations: 3.938 kB / 0.9168 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009325/2.436, allocations: 0.5641 MB / 0.9174 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/2.436, allocations: 8 kB / 0.9174 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.436, allocations: 7 kB / 0.9174 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/2.437, allocations: 226.6 kB / 0.9176 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/2.437, allocations: 31.36 kB / 0.9176 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/2.438, allocations: 0.732 MB / 0.9183 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/2.438, allocations: 61.81 kB / 0.9184 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/2.438, allocations: 15.69 kB / 0.9184 GB, free: 10.79 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 14 (perteDP.C2.b,perteDP.C1.a,sourceP.C.b,puitsP.C.a,temperatureSensor.C2.b,temperatureSensor.C1.a,pressureSensor.C2.b,pressureSensor.C1.a,volumetricFlowSensor.C2.b,volumetricFlowSensor.C1.a,massFlowSensor.C2.b,massFlowSensor.C1.a,specificEnthalpySensor.C2.b,specificEnthalpySensor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 25 * 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 {(6,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002262/2.439, allocations: 171.7 kB / 0.9186 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/2.439, allocations: 47.42 kB / 0.9186 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/2.44, allocations: 1.129 MB / 0.9197 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005955/2.441, allocations: 463.2 kB / 0.9202 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.441, allocations: 0 / 0.9202 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/2.441, allocations: 3.984 kB / 0.9202 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/2.442, allocations: 1.346 MB / 0.9215 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/2.442, allocations: 4 kB / 0.9215 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/2.443, allocations: 38.58 kB / 0.9215 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/2.443, allocations: 211.9 kB / 0.9217 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/2.443, allocations: 7.688 kB / 0.9217 GB, free: 8.215 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000634/2.444, allocations: 0.7576 MB / 0.9225 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.444, allocations: 0 / 0.9225 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/2.445, allocations: 0.6106 MB / 0.9231 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/2.445, allocations: 178.4 kB / 0.9232 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/2.445, allocations: 5.547 kB / 0.9233 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/2.445, allocations: 11.62 kB / 0.9233 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/2.445, allocations: 23.5 kB / 0.9233 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/2.445, allocations: 14.59 kB / 0.9233 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003479/2.446, allocations: 332.6 kB / 0.9236 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/2.446, allocations: 0 / 0.9236 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003778/2.45, allocations: 1.537 MB / 0.9251 GB, free: 5.164 MB / 0.7637 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 (27): * Single equations (assignments): 24 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008041/2.458, allocations: 3.382 MB / 0.9284 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008719/2.459, allocations: 0.5112 MB / 0.9289 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.459, allocations: 0.9375 kB / 0.9289 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/2.459, allocations: 242.8 kB / 0.9292 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/2.46, allocations: 214.2 kB / 0.9294 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/2.467, allocations: 5.168 MB / 0.9344 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/2.468, allocations: 0.8869 MB / 0.9353 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002109/2.468, allocations: 53.23 kB / 0.9353 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/2.468, allocations: 215 kB / 0.9355 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/2.468, allocations: 0 / 0.9355 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/2.71, allocations: 58.82 MB / 0.993 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/2.71, allocations: 272.6 kB / 0.9932 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.16/6.87, allocations: 0 / 0.9932 GB, free: 458.5 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSensors_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSensors.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe 2>&1)