Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006152/0.006152, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 202.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 279.1 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 95.33 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1768, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.509/0.6859, allocations: 163.2 MB / 0.9253 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00593/0.6919, allocations: 4.579 MB / 0.9298 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.6922, allocations: 7.938 kB / 0.9298 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.6927, allocations: 135 kB / 0.9299 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.6939, allocations: 0.5328 MB / 0.9304 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.6957, allocations: 0.7682 MB / 0.9312 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.6964, allocations: 0.5768 MB / 0.9318 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.6968, allocations: 209.1 kB / 0.932 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009188/0.6977, allocations: 470.2 kB / 0.9324 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.6983, allocations: 290.1 kB / 0.9327 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.6983, allocations: 20 kB / 0.9327 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.6999, allocations: 1.002 MB / 0.9337 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.7, allocations: 91.7 kB / 0.9338 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.7001, allocations: 123.4 kB / 0.9339 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.7012, allocations: 0.7304 MB / 0.9346 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7012, allocations: 0 / 0.9346 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7012, allocations: 0 / 0.9346 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7012, allocations: 0 / 0.9346 GB, free: 6.402 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009702/0.7022, allocations: 0.6067 MB / 0.9352 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7022, allocations: 12.03 kB / 0.9352 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.7023, allocations: 50.55 kB / 0.9352 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.7029, allocations: 79.69 kB / 0.9353 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.7033, allocations: 303.4 kB / 0.9356 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.7034, allocations: 19.95 kB / 0.9356 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.7034, allocations: 20 kB / 0.9357 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.7039, allocations: 275.5 kB / 0.9359 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7039, allocations: 0 / 0.9359 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.704, allocations: 12 kB / 0.9359 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.704, allocations: 7.938 kB / 0.9359 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.7044, allocations: 207.7 kB / 0.9361 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.7061, allocations: 1.234 MB / 0.9373 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.7064, allocations: 177 kB / 0.9375 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.7066, allocations: 120.2 kB / 0.9376 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.7074, allocations: 323.2 kB / 0.9379 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.7074, allocations: 46.69 kB / 0.938 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7074, allocations: 0 / 0.938 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007672/0.7082, allocations: 273.8 kB / 0.9382 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.7083, allocations: 162.2 kB / 0.9384 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.7086, allocations: 283.4 kB / 0.9387 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.7087, allocations: 33.7 kB / 0.9387 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.7088, allocations: 147.9 kB / 0.9388 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.7089, allocations: 51.58 kB / 0.9389 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.709, allocations: 45.55 kB / 0.9389 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7091, allocations: 342.8 kB / 0.9393 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.7093, allocations: 71.94 kB / 0.9393 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.7095, allocations: 140.5 kB / 0.9395 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.71, allocations: 211.5 kB / 0.9397 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.71, allocations: 4 kB / 0.9397 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004991/0.7105, allocations: 237.2 kB / 0.9399 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7105, allocations: 8 kB / 0.9399 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7105, allocations: 0 / 0.9399 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7105, allocations: 4.25 kB / 0.9399 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.7107, allocations: 43.92 kB / 0.9399 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.7108, allocations: 4 kB / 0.9399 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.711, allocations: 36.33 kB / 0.94 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.711, allocations: 19.92 kB / 0.94 GB, free: 408 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001488/0.7112, allocations: 145.8 kB / 0.9401 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7113, allocations: 27.86 kB / 0.9402 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.7118, allocations: 191.4 kB / 0.9403 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.7118, allocations: 0 / 0.9403 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7118, allocations: 8 kB / 0.9404 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7118, allocations: 4.031 kB / 0.9404 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7129, allocations: 0.8549 MB / 0.9412 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7129, allocations: 8.156 kB / 0.9412 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.7131, allocations: 19.98 kB / 0.9412 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7131, allocations: 7.938 kB / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7131, allocations: 4 kB / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7131, allocations: 5.25 kB / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7131, allocations: 0 / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.7137, allocations: 343.5 kB / 0.9416 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7138, allocations: 112.9 kB / 0.9417 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.7139, allocations: 4 kB / 0.9417 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.714, allocations: 12.05 kB / 0.9417 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.7141, allocations: 15.98 kB / 0.9417 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.7141, allocations: 4 kB / 0.9417 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002468/0.7144, allocations: 229.9 kB / 0.9419 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7144, allocations: 0 / 0.9419 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005572/0.7149, allocations: 99.89 kB / 0.942 GB, free: 14.18 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001247/0.7162, allocations: 0.999 MB / 0.943 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.7166, allocations: 152 kB / 0.9431 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7166, allocations: 0 / 0.9431 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.7168, allocations: 59.91 kB / 0.9432 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.7176, allocations: 141.9 kB / 0.9433 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.7211, allocations: 2.764 MB / 0.946 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.7215, allocations: 0.7595 MB / 0.9468 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.7217, allocations: 71.73 kB / 0.9468 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.7218, allocations: 75.42 kB / 0.9469 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/0.7218, allocations: 0 / 0.9469 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.7546, allocations: 8.632 MB / 0.9553 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.622, allocations: 4 kB / 0.9553 GB, free: 0.5312 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)