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.00122/0.00122, allocations: 102.6 kB / 16.4 MB, free: 6.453 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.001143/0.001143, allocations: 195.9 kB / 17.34 MB, free: 5.715 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 70.17 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 76.19 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5685/0.731, allocations: 167.3 MB / 0.795 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.7341, allocations: 1.55 MB / 0.7965 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.7346, allocations: 17.33 kB / 0.7965 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.7351, allocations: 147.2 kB / 0.7967 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7371, allocations: 0.7013 MB / 0.7974 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.739, allocations: 0.5963 MB / 0.798 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.7401, allocations: 0.7006 MB / 0.7986 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.7406, allocations: 237.5 kB / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007281/0.7414, allocations: 336.9 kB / 0.7992 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.7417, allocations: 218.8 kB / 0.7994 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.7417, allocations: 27.41 kB / 0.7994 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.7434, allocations: 0.8733 MB / 0.8003 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.7435, allocations: 103.7 kB / 0.8004 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.7437, allocations: 170 kB / 0.8005 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.7448, allocations: 0.72 MB / 0.8012 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7449, allocations: 0 / 0.8012 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7449, allocations: 0 / 0.8012 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7449, allocations: 0 / 0.8012 GB, free: 11.93 MB / 0.5919 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.0009848/0.7459, allocations: 0.6477 MB / 0.8019 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7459, allocations: 12.86 kB / 0.8019 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/0.746, allocations: 55.95 kB / 0.8019 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.7471, allocations: 157.4 kB / 0.8021 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.7477, allocations: 323.1 kB / 0.8024 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.7477, allocations: 14.84 kB / 0.8024 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.7478, allocations: 24.5 kB / 0.8024 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.7482, allocations: 278.2 kB / 0.8027 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.7483, allocations: 5.922 kB / 0.8027 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.7483, allocations: 9.562 kB / 0.8027 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7483, allocations: 5.031 kB / 0.8027 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.7487, allocations: 195.1 kB / 0.8029 GB, free: 11.04 MB / 0.5919 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.001489/0.7502, allocations: 1.203 MB / 0.8041 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.7505, allocations: 138.2 kB / 0.8042 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7507, allocations: 93.42 kB / 0.8043 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.7512, allocations: 303.1 kB / 0.8046 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7513, allocations: 46.06 kB / 0.8046 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7513, allocations: 0 / 0.8046 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007363/0.752, allocations: 281.7 kB / 0.8049 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7521, allocations: 53.22 kB / 0.8049 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.7524, allocations: 316.6 kB / 0.8053 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.7524, allocations: 31.58 kB / 0.8053 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.7526, allocations: 183.9 kB / 0.8055 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.7526, allocations: 52.84 kB / 0.8055 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.7527, allocations: 43.3 kB / 0.8055 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7528, allocations: 342.6 kB / 0.8059 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.753, allocations: 62.33 kB / 0.8059 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.7532, allocations: 124.2 kB / 0.8061 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.7535, allocations: 197.4 kB / 0.8062 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7535, allocations: 4 kB / 0.8062 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004345/0.754, allocations: 231 kB / 0.8065 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.754, allocations: 4.812 kB / 0.8065 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.754, allocations: 2.219 kB / 0.8065 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.754, allocations: 2.906 kB / 0.8065 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.7542, allocations: 43.86 kB / 0.8065 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.7543, allocations: 6.859 kB / 0.8065 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.7545, allocations: 33.16 kB / 0.8066 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.7545, allocations: 13.36 kB / 0.8066 GB, free: 8.746 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.7546, allocations: 148.7 kB / 0.8067 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.7547, allocations: 28.56 kB / 0.8067 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.7552, allocations: 219.6 kB / 0.8069 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.7552, allocations: 0 / 0.8069 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7552, allocations: 6.719 kB / 0.807 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.7552, allocations: 0 / 0.807 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7562, allocations: 0.6841 MB / 0.8076 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7562, allocations: 1.875 kB / 0.8076 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.7564, allocations: 41.91 kB / 0.8077 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.7564, allocations: 6.844 kB / 0.8077 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7564, allocations: 5.5 kB / 0.8077 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7564, allocations: 2.406 kB / 0.8077 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7565, allocations: 6 kB / 0.8077 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.7571, allocations: 431.4 kB / 0.8081 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.7572, allocations: 120.1 kB / 0.8082 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.7573, allocations: 16.69 kB / 0.8082 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.7574, allocations: 4.406 kB / 0.8082 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.7575, allocations: 20.91 kB / 0.8082 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7575, allocations: 7.375 kB / 0.8083 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002072/0.7577, allocations: 228.1 kB / 0.8085 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7577, allocations: 4.062 kB / 0.8085 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000398/0.7581, allocations: 79.81 kB / 0.8086 GB, free: 7.523 MB / 0.5919 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 (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.001185/0.7593, allocations: 1.024 MB / 0.8096 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.7598, allocations: 174.7 kB / 0.8097 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7598, allocations: 2.812 kB / 0.8097 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.76, allocations: 89.84 kB / 0.8098 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.7608, allocations: 168.1 kB / 0.81 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.7642, allocations: 2.912 MB / 0.8128 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.7645, allocations: 0.7737 MB / 0.8136 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.7648, allocations: 66.14 kB / 0.8136 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7649, allocations: 91.34 kB / 0.8137 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.7649, allocations: 0 / 0.8137 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.795, allocations: 8.972 MB / 0.8225 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.554, allocations: 11.67 kB / 0.8225 GB, free: 15.49 MB / 0.6075 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/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)