Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.0008394/0.0008391, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001125/0.001125, allocations: 172.7 kB / 15.95 MB, free: 208 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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 12.22 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7381, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1774/0.9156, allocations: 152 MB / 1.13 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.9183, allocations: 1.479 MB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.9186, allocations: 11.88 kB / 1.131 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.9191, allocations: 107.2 kB / 1.131 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.9205, allocations: 0.5014 MB / 1.132 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.9218, allocations: 461.9 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.9229, allocations: 0.8299 MB / 1.133 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.9232, allocations: 185.1 kB / 1.133 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.9238, allocations: 298.8 kB / 1.133 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.9241, allocations: 215.2 kB / 1.134 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.9242, allocations: 12 kB / 1.134 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.9253, allocations: 466.8 kB / 1.134 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.9255, allocations: 107.7 kB / 1.134 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.9256, allocations: 77.58 kB / 1.134 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.9262, allocations: 434.9 kB / 1.135 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9262, allocations: 4 kB / 1.135 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9262, allocations: 0 / 1.135 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.9262, allocations: 0 / 1.135 GB, free: 8.648 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009571/0.9272, allocations: 0.5961 MB / 1.135 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9273, allocations: 8.031 kB / 1.135 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.9273, allocations: 58.55 kB / 1.135 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.9284, allocations: 151.4 kB / 1.135 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.9289, allocations: 305.8 kB / 1.136 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.9289, allocations: 16.39 kB / 1.136 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.929, allocations: 24 kB / 1.136 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.9295, allocations: 275.5 kB / 1.136 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9295, allocations: 7.938 kB / 1.136 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9295, allocations: 4 kB / 1.136 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.9296, allocations: 8 kB / 1.136 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.93, allocations: 211.8 kB / 1.136 GB, free: 6.883 MB / 0.8887 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.001535/0.9315, allocations: 1.217 MB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.9319, allocations: 138.5 kB / 1.138 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.9321, allocations: 104.8 kB / 1.138 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.9327, allocations: 319.2 kB / 1.138 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.9327, allocations: 34.52 kB / 1.138 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.9327, allocations: 0 / 1.138 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.000778/0.9335, allocations: 298.9 kB / 1.138 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.9336, allocations: 55.41 kB / 1.138 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.9339, allocations: 308.5 kB / 1.139 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.934, allocations: 33.64 kB / 1.139 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.9341, allocations: 184.1 kB / 1.139 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.9342, allocations: 51.2 kB / 1.139 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.9342, allocations: 4 kB / 1.139 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9343, allocations: 342.8 kB / 1.139 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.9345, allocations: 67.95 kB / 1.139 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.9347, allocations: 129.1 kB / 1.139 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.9349, allocations: 79.91 kB / 1.139 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9349, allocations: 0 / 1.139 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004584/0.9354, allocations: 261.1 kB / 1.14 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.9354, allocations: 9.516 kB / 1.14 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9354, allocations: 0 / 1.14 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9354, allocations: 4 kB / 1.14 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.9356, allocations: 47.92 kB / 1.14 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.9357, allocations: 4.094 kB / 1.14 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.9359, allocations: 39.66 kB / 1.14 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.9359, allocations: 15.98 kB / 1.14 GB, free: 2.941 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001487/0.9361, allocations: 149.8 kB / 1.14 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.9361, allocations: 27.77 kB / 1.14 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.9366, allocations: 234.7 kB / 1.14 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9366, allocations: 0 / 1.14 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.9366, allocations: 0 / 1.14 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9366, allocations: 3.938 kB / 1.14 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.9378, allocations: 0.699 MB / 1.141 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9378, allocations: 0 / 1.141 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.938, allocations: 35.97 kB / 1.141 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.938, allocations: 4 kB / 1.141 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.938, allocations: 8 kB / 1.141 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.938, allocations: 3.938 kB / 1.141 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.938, allocations: 4 kB / 1.141 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.9387, allocations: 449.2 kB / 1.141 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.9388, allocations: 124.7 kB / 1.142 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.9388, allocations: 7.984 kB / 1.142 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.939, allocations: 20.06 kB / 1.142 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.9391, allocations: 11.98 kB / 1.142 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.9391, allocations: 11.98 kB / 1.142 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003092/0.9394, allocations: 219.1 kB / 1.142 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9394, allocations: 0 / 1.142 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006248/0.9401, allocations: 83.84 kB / 1.142 GB, free: 0.7227 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.00121/0.9413, allocations: 1.048 MB / 1.143 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.9417, allocations: 183.8 kB / 1.143 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9417, allocations: 4 kB / 1.143 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.9419, allocations: 87.88 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008382/0.9428, allocations: 170.1 kB / 1.143 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.9455, allocations: 1.764 MB / 1.145 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.946, allocations: 0.7797 MB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.9462, allocations: 62.92 kB / 1.146 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.9464, allocations: 87.41 kB / 1.146 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of SimCode: time 1.884e-06/0.9464, allocations: 0 / 1.146 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.969, allocations: 8.223 MB / 1.154 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.9693, allocations: 224.2 kB / 1.154 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.025, allocations: 0 / 1.154 GB, free: 4.172 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat