Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.001699/0.001699, allocations: 95.95 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 172.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.469/2.469, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.198/1.198, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005526, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3027, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 1.057/1.359, allocations: 140.1 MB / 0.6936 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005103/1.365, allocations: 1.572 MB / 0.6951 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/1.366, allocations: 19.88 kB / 0.6951 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/1.367, allocations: 171.2 kB / 0.6953 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/1.37, allocations: 0.5141 MB / 0.6958 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/1.372, allocations: 494.1 kB / 0.6963 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001322/1.373, allocations: 427.6 kB / 0.6967 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/1.374, allocations: 185.2 kB / 0.6968 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/1.375, allocations: 347 kB / 0.6972 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/1.376, allocations: 143.4 kB / 0.6973 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/1.376, allocations: 20 kB / 0.6973 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/1.377, allocations: 419.3 kB / 0.6977 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/1.377, allocations: 91.77 kB / 0.6978 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/1.378, allocations: 85.52 kB / 0.6979 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009177/1.379, allocations: 388 kB / 0.6983 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.379, allocations: 0 / 0.6983 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.326e-06/1.379, allocations: 0 / 0.6983 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.379, allocations: 0 / 0.6983 GB, free: 9.207 MB / 0.5137 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.001366/1.38, allocations: 0.5968 MB / 0.6989 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.075e-05/1.38, allocations: 8.031 kB / 0.6989 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/1.38, allocations: 58.48 kB / 0.6989 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/1.382, allocations: 166.1 kB / 0.6991 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/1.383, allocations: 293.9 kB / 0.6994 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/1.383, allocations: 20.42 kB / 0.6994 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/1.383, allocations: 31.98 kB / 0.6994 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/1.384, allocations: 275.5 kB / 0.6997 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.384, allocations: 0 / 0.6997 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/1.384, allocations: 8 kB / 0.6997 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.384, allocations: 8 kB / 0.6997 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/1.384, allocations: 207.8 kB / 0.6999 GB, free: 7.438 MB / 0.5137 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.002217/1.387, allocations: 1.213 MB / 0.7011 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/1.387, allocations: 142.5 kB / 0.7012 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/1.388, allocations: 141 kB / 0.7013 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.388, allocations: 30.56 kB / 0.7014 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.454e-06/1.388, allocations: 4 kB / 0.7014 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.001192/1.389, allocations: 294 kB / 0.7017 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.389, allocations: 55.34 kB / 0.7017 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/1.39, allocations: 324.5 kB / 0.702 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.39, allocations: 25.7 kB / 0.702 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.39, allocations: 180.2 kB / 0.7022 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/1.39, allocations: 59.19 kB / 0.7023 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/1.39, allocations: 4 kB / 0.7023 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.39, allocations: 338.8 kB / 0.7026 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/1.39, allocations: 67.95 kB / 0.7027 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/1.391, allocations: 128.6 kB / 0.7028 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/1.391, allocations: 95.89 kB / 0.7029 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.391, allocations: 0 / 0.7029 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006608/1.392, allocations: 249.2 kB / 0.7031 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.392, allocations: 4 kB / 0.7031 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.392, allocations: 4 kB / 0.7031 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.392, allocations: 4 kB / 0.7031 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/1.392, allocations: 39.97 kB / 0.7032 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.392, allocations: 4 kB / 0.7032 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/1.393, allocations: 47.67 kB / 0.7032 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/1.393, allocations: 8 kB / 0.7032 GB, free: 3.809 MB / 0.5137 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.0002601/1.393, allocations: 143.5 kB / 0.7034 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/1.393, allocations: 43.56 kB / 0.7034 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/1.394, allocations: 226.2 kB / 0.7036 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.394, allocations: 0 / 0.7036 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.394, allocations: 7.984 kB / 0.7036 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.394, allocations: 0 / 0.7036 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/1.395, allocations: 0.6913 MB / 0.7043 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.395, allocations: 4 kB / 0.7043 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/1.396, allocations: 36.14 kB / 0.7043 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.396, allocations: 4 kB / 0.7043 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/1.396, allocations: 4 kB / 0.7043 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/1.396, allocations: 7.984 kB / 0.7043 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/1.396, allocations: 0 / 0.7043 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/1.397, allocations: 0.5215 MB / 0.7049 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/1.397, allocations: 124.8 kB / 0.705 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/1.397, allocations: 7.938 kB / 0.705 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/1.397, allocations: 19.98 kB / 0.705 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/1.397, allocations: 11.94 kB / 0.705 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/1.397, allocations: 15.94 kB / 0.705 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003602/1.398, allocations: 227 kB / 0.7052 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/1.398, allocations: 0 / 0.7052 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007049/1.399, allocations: 79.91 kB / 0.7053 GB, free: 1.469 MB / 0.5137 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.002309/1.401, allocations: 1.619 MB / 0.7069 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006768/1.402, allocations: 175.8 kB / 0.7071 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.402, allocations: 4.188 kB / 0.7071 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/1.402, allocations: 95.81 kB / 0.7072 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.403, allocations: 145.4 kB / 0.7073 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/1.408, allocations: 2.497 MB / 0.7097 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/1.408, allocations: 0.7836 MB / 0.7105 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004214/1.409, allocations: 66.92 kB / 0.7106 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/1.409, allocations: 83.42 kB / 0.7107 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.473e-06/1.409, allocations: 3.938 kB / 0.7107 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/1.445, allocations: 8.203 MB / 0.7187 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/1.445, allocations: 216.5 kB / 0.7189 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/4.869, allocations: 0 / 0.7189 GB, free: 3.605 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: