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.001222/0.001222, allocations: 102.8 kB / 16.4 MB, free: 6.508 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.001218/0.001218, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6883/0.6883, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.5 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1436, allocations: 76.17 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5247/0.6684, allocations: 167.3 MB / 0.795 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.6711, allocations: 1.555 MB / 0.7965 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.6716, allocations: 15.62 kB / 0.7965 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.6722, allocations: 149.7 kB / 0.7967 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.6739, allocations: 0.7 MB / 0.7974 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.6755, allocations: 0.598 MB / 0.798 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008482/0.6764, allocations: 0.7025 MB / 0.7986 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.6768, allocations: 229.4 kB / 0.7989 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.6774, allocations: 339.3 kB / 0.7992 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.6777, allocations: 219.5 kB / 0.7994 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.6777, allocations: 25.62 kB / 0.7994 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.6792, allocations: 0.868 MB / 0.8003 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.6793, allocations: 113.5 kB / 0.8004 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.6795, allocations: 163.9 kB / 0.8005 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.6805, allocations: 0.7191 MB / 0.8012 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6806, allocations: 0 / 0.8012 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6806, allocations: 0 / 0.8012 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6806, allocations: 0 / 0.8012 GB, free: 11.99 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.0009124/0.6815, allocations: 0.6469 MB / 0.8019 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6815, allocations: 10.72 kB / 0.8019 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.6816, allocations: 54.81 kB / 0.8019 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6827, allocations: 158.6 kB / 0.8021 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.6833, allocations: 317.7 kB / 0.8024 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6833, allocations: 21.28 kB / 0.8024 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.6834, allocations: 21.41 kB / 0.8024 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.6838, allocations: 277.4 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6838, allocations: 3.938 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.6839, allocations: 15.94 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6839, allocations: 2.75 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.6843, allocations: 202.8 kB / 0.8029 GB, free: 11.11 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.001371/0.6856, allocations: 1.202 MB / 0.8041 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.6859, allocations: 141.1 kB / 0.8042 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.6861, allocations: 90.16 kB / 0.8043 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.6866, allocations: 303.8 kB / 0.8046 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6867, allocations: 37.62 kB / 0.8046 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.6867, allocations: 5.75 kB / 0.8046 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006987/0.6874, allocations: 283.9 kB / 0.8049 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6874, allocations: 57.38 kB / 0.805 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6877, allocations: 320 kB / 0.8053 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.6878, allocations: 28.89 kB / 0.8053 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.6879, allocations: 182.1 kB / 0.8055 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.6879, allocations: 51.03 kB / 0.8055 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.688, allocations: 49.22 kB / 0.8056 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6881, allocations: 340.1 kB / 0.8059 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6883, allocations: 64.17 kB / 0.8059 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.6885, allocations: 122.2 kB / 0.8061 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.6888, allocations: 196.7 kB / 0.8062 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6888, allocations: 1.938 kB / 0.8062 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004207/0.6892, allocations: 242.3 kB / 0.8065 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6892, allocations: 5.25 kB / 0.8065 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6893, allocations: 2.75 kB / 0.8065 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6893, allocations: 0 / 0.8065 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.6895, allocations: 40.45 kB / 0.8065 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.6895, allocations: 6.703 kB / 0.8065 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.6897, allocations: 28.97 kB / 0.8066 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.6898, allocations: 16.86 kB / 0.8066 GB, free: 8.82 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.0001575/0.6899, allocations: 154.1 kB / 0.8067 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.69, allocations: 30.38 kB / 0.8068 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.6904, allocations: 211.5 kB / 0.807 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6905, allocations: 2.75 kB / 0.807 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6905, allocations: 3.938 kB / 0.807 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6905, allocations: 0 / 0.807 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009901/0.6915, allocations: 0.6815 MB / 0.8076 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6915, allocations: 3.031 kB / 0.8076 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.6917, allocations: 41.38 kB / 0.8077 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.6917, allocations: 6.375 kB / 0.8077 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6917, allocations: 1.969 kB / 0.8077 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.6918, allocations: 6.844 kB / 0.8077 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6918, allocations: 2.781 kB / 0.8077 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.6925, allocations: 437.8 kB / 0.8081 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.6926, allocations: 122.3 kB / 0.8082 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.6927, allocations: 10.59 kB / 0.8082 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6928, allocations: 17.08 kB / 0.8082 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.6929, allocations: 11.64 kB / 0.8083 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.6929, allocations: 8.125 kB / 0.8083 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002443/0.6932, allocations: 224.3 kB / 0.8085 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6932, allocations: 0 / 0.8085 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00043/0.6936, allocations: 81.97 kB / 0.8086 GB, free: 7.598 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.001177/0.6948, allocations: 1.015 MB / 0.8095 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.6952, allocations: 190.8 kB / 0.8097 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6952, allocations: 0 / 0.8097 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.6954, allocations: 91.72 kB / 0.8098 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.6963, allocations: 166.8 kB / 0.81 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.7001, allocations: 2.906 MB / 0.8128 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.7005, allocations: 0.7753 MB / 0.8136 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.7007, allocations: 71.97 kB / 0.8136 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.7008, allocations: 88.25 kB / 0.8137 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7008, allocations: 0 / 0.8137 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.7307, allocations: 8.959 MB / 0.8225 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.611, allocations: 12.58 kB / 0.8225 GB, free: 15.56 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)