Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",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.0008267/0.0008268, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008988/0.0008987, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.639/2.639, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 16 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.172/0.9009, allocations: 154 MB / 1.132 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009226/0.9101, allocations: 6.776 MB / 1.138 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.9105, allocations: 19.81 kB / 1.138 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.9112, allocations: 135 kB / 1.138 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.9126, allocations: 441.9 kB / 1.139 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.9137, allocations: 356.7 kB / 1.139 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.915, allocations: 0.8649 MB / 1.14 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.9154, allocations: 192.7 kB / 1.14 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.9161, allocations: 318.7 kB / 1.14 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.9164, allocations: 203.1 kB / 1.141 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.9164, allocations: 12 kB / 1.141 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.9175, allocations: 0.53 MB / 1.141 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.9176, allocations: 95.73 kB / 1.141 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.9177, allocations: 93.45 kB / 1.141 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.9183, allocations: 383.1 kB / 1.142 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9184, allocations: 4 kB / 1.142 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9184, allocations: 0 / 1.142 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.9184, allocations: 0 / 1.142 GB, free: 1.441 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001007/0.9194, allocations: 0.5805 MB / 1.142 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.9195, allocations: 8.031 kB / 1.142 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.9195, allocations: 62.48 kB / 1.142 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.9199, allocations: 63.48 kB / 1.142 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.9204, allocations: 306.3 kB / 1.143 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.9204, allocations: 16.44 kB / 1.143 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.9204, allocations: 24 kB / 1.143 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.921, allocations: 300.7 kB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.921, allocations: 7.938 kB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.921, allocations: 8 kB / 1.143 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.921, allocations: 8 kB / 1.143 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.9214, allocations: 183.5 kB / 1.143 GB, free: 15.75 MB / 0.9044 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.002199/0.9236, allocations: 1.717 MB / 1.145 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.9239, allocations: 94.41 kB / 1.145 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.9241, allocations: 80.89 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.9244, allocations: 194.2 kB / 1.145 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.9244, allocations: 30.56 kB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.9244, allocations: 0 / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006984/0.9251, allocations: 237.5 kB / 1.145 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.9251, allocations: 55.34 kB / 1.145 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.9257, allocations: 316.5 kB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.9257, allocations: 29.69 kB / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.9259, allocations: 203.8 kB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.926, allocations: 43.39 kB / 1.146 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-06/0.926, allocations: 4 kB / 1.146 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9262, allocations: 342.8 kB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.9264, allocations: 55.95 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.9267, allocations: 197.7 kB / 1.147 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.9269, allocations: 83.89 kB / 1.147 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9269, allocations: 0 / 1.147 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005574/0.9275, allocations: 260.8 kB / 1.147 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.9276, allocations: 202.3 kB / 1.147 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.9276, allocations: 4 kB / 1.147 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.9277, allocations: 4 kB / 1.147 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.9279, allocations: 47.91 kB / 1.147 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.9279, allocations: 11.95 kB / 1.147 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.9281, allocations: 47.61 kB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.9282, allocations: 16.12 kB / 1.147 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.9282, allocations: 4 kB / 1.147 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004214/0.9286, allocations: 211.5 kB / 1.147 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9287, allocations: 4 kB / 1.147 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.9287, allocations: 4 kB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.9288, allocations: 52.31 kB / 1.148 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.9289, allocations: 11.94 kB / 1.148 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.9291, allocations: 31.83 kB / 1.148 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.9291, allocations: 16 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.9293, allocations: 236.9 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.9294, allocations: 31.62 kB / 1.148 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.9298, allocations: 180.4 kB / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9298, allocations: 0 / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9298, allocations: 0 / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9298, allocations: 0 / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.9308, allocations: 0.6211 MB / 1.149 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9308, allocations: 4 kB / 1.149 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.931, allocations: 27.92 kB / 1.149 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.931, allocations: 4 kB / 1.149 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.931, allocations: 4 kB / 1.149 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.931, allocations: 0 / 1.149 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/0.931, allocations: 4 kB / 1.149 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.9315, allocations: 317.2 kB / 1.149 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.9316, allocations: 116.8 kB / 1.149 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.9317, allocations: 0 / 1.149 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.9319, allocations: 35.83 kB / 1.149 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.9319, allocations: 19.88 kB / 1.149 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.9319, allocations: 4 kB / 1.149 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002598/0.9322, allocations: 223 kB / 1.149 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9322, allocations: 0 / 1.149 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006094/0.9328, allocations: 135.8 kB / 1.149 GB, free: 8.77 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.9339, allocations: 0.9047 MB / 1.15 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.9345, allocations: 260.9 kB / 1.151 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9345, allocations: 4.188 kB / 1.151 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.9347, allocations: 63.91 kB / 1.151 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.9356, allocations: 149.2 kB / 1.151 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.9383, allocations: 1.632 MB / 1.152 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.9388, allocations: 0.7758 MB / 1.153 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004029/0.9392, allocations: 83.53 kB / 1.153 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.9393, allocations: 91.41 kB / 1.153 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9393, allocations: 0 / 1.153 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.967, allocations: 7.503 MB / 1.161 GB, free: 13.34 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003962/0.9674, allocations: 215.7 kB / 1.161 GB, free: 13.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/3.069, allocations: 0 / 1.161 GB, free: 13.1 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat does not exist to compare? outputFormat=mat