Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.857/2.857, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003002/0.003001, allocations: 186.3 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 101.9 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004888, allocations: 13.95 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9134/1.147, allocations: 140.2 MB / 1.115 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004081/1.151, allocations: 1.569 MB / 1.117 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/1.151, allocations: 17.75 kB / 1.117 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009159/1.152, allocations: 173 kB / 1.117 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/1.155, allocations: 0.5125 MB / 1.117 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/1.157, allocations: 490 kB / 1.118 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.158, allocations: 433.7 kB / 1.118 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/1.159, allocations: 180.4 kB / 1.118 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/1.16, allocations: 338.4 kB / 1.119 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/1.161, allocations: 149.6 kB / 1.119 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/1.161, allocations: 16.47 kB / 1.119 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/1.163, allocations: 421 kB / 1.119 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/1.163, allocations: 94.33 kB / 1.119 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/1.163, allocations: 84.12 kB / 1.119 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/1.164, allocations: 393.8 kB / 1.12 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.164, allocations: 0 / 1.12 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/1.164, allocations: 0 / 1.12 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.164, allocations: 0 / 1.12 GB, free: 0.5508 MB / 0.6823 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.001265/1.166, allocations: 0.6006 MB / 1.12 GB, free: 16.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.166, allocations: 14.31 kB / 1.12 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/1.166, allocations: 55.38 kB / 1.12 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.167, allocations: 160.6 kB / 1.121 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/1.168, allocations: 296.8 kB / 1.121 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/1.168, allocations: 14.34 kB / 1.121 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/1.168, allocations: 26.34 kB / 1.121 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/1.169, allocations: 280.2 kB / 1.121 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.169, allocations: 0 / 1.121 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/1.169, allocations: 12.08 kB / 1.121 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/1.169, allocations: 10.48 kB / 1.121 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/1.17, allocations: 208.8 kB / 1.121 GB, free: 15.68 MB / 0.698 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.00223/1.172, allocations: 1.213 MB / 1.123 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.173, allocations: 134.2 kB / 1.123 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/1.173, allocations: 138.5 kB / 1.123 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.173, allocations: 37.03 kB / 1.123 GB, free: 14.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.316e-06/1.173, allocations: 3.938 kB / 1.123 GB, free: 14.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001299/1.175, allocations: 302.3 kB / 1.123 GB, free: 14.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.175, allocations: 51.41 kB / 1.123 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/1.175, allocations: 313.8 kB / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/1.175, allocations: 33.2 kB / 1.124 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/1.175, allocations: 175.9 kB / 1.124 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/1.176, allocations: 57.77 kB / 1.124 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/1.176, allocations: 4.672 kB / 1.124 GB, free: 14.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.176, allocations: 343.5 kB / 1.124 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.176, allocations: 73.3 kB / 1.124 GB, free: 13.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/1.176, allocations: 127 kB / 1.124 GB, free: 13.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/1.177, allocations: 85.88 kB / 1.124 GB, free: 13.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.177, allocations: 0 / 1.124 GB, free: 13.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008271/1.178, allocations: 254.8 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.178, allocations: 5.219 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.178, allocations: 2.531 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.178, allocations: 2.375 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.178, allocations: 46.91 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.178, allocations: 3.484 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/1.178, allocations: 39.34 kB / 1.125 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.179, allocations: 9.344 kB / 1.125 GB, free: 13.8 MB / 0.698 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.0002675/1.179, allocations: 155.5 kB / 1.125 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/1.179, allocations: 27.94 kB / 1.125 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/1.18, allocations: 229.5 kB / 1.125 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.18, allocations: 4.375 kB / 1.125 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.18, allocations: 0.875 kB / 1.125 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.18, allocations: 3.938 kB / 1.125 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.181, allocations: 0.6981 MB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.182, allocations: 0 / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/1.182, allocations: 43.34 kB / 1.126 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.182, allocations: 2.281 kB / 1.126 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.182, allocations: 13.27 kB / 1.126 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.182, allocations: 2.812 kB / 1.126 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.182, allocations: 7.031 kB / 1.126 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.183, allocations: 0.5108 MB / 1.126 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/1.183, allocations: 128.7 kB / 1.127 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/1.183, allocations: 6.875 kB / 1.127 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.184, allocations: 20.75 kB / 1.127 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/1.184, allocations: 19.41 kB / 1.127 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/1.184, allocations: 5.781 kB / 1.127 GB, free: 12.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003587/1.184, allocations: 223.2 kB / 1.127 GB, free: 12.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.184, allocations: 4 kB / 1.127 GB, free: 12.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006243/1.185, allocations: 72.69 kB / 1.127 GB, free: 12.68 MB / 0.698 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.00233/1.187, allocations: 1.608 MB / 1.128 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007416/1.188, allocations: 177.5 kB / 1.129 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.188, allocations: 192 / 1.129 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/1.188, allocations: 95.09 kB / 1.129 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.19, allocations: 156.3 kB / 1.129 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.195, allocations: 2.512 MB / 1.131 GB, free: 9.781 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/1.196, allocations: 0.7843 MB / 1.132 GB, free: 9.082 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005166/1.197, allocations: 60.83 kB / 1.132 GB, free: 9.074 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/1.197, allocations: 94.95 kB / 1.132 GB, free: 9.062 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.197, allocations: 0 / 1.132 GB, free: 9.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/1.237, allocations: 8.219 MB / 1.14 GB, free: 6.188 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003775/1.237, allocations: 219.6 kB / 1.14 GB, free: 5.945 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/4.066, allocations: 0 / 1.14 GB, free: 5.945 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)