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: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 115.3 kB / 17.08 MB, free: 5.961 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.001357/0.001357, allocations: 200.2 kB / 18.02 MB, free: 5.043 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.354/1.354, allocations: 222.9 MB / 241.7 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.7174/0.7174, allocations: 115.3 MB / 407.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 69.59 kB / 0.5583 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1814, allocations: 76.18 MB / 0.6327 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6168/0.7983, allocations: 167.3 MB / 0.7962 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.8012, allocations: 1.556 MB / 0.7977 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.8017, allocations: 11.72 kB / 0.7977 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.8023, allocations: 151 kB / 0.7978 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.8042, allocations: 0.6911 MB / 0.7985 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.8059, allocations: 0.6077 MB / 0.7991 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.8068, allocations: 0.697 MB / 0.7998 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.8072, allocations: 230.8 kB / 0.8 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.8078, allocations: 340.1 kB / 0.8003 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.8081, allocations: 224.9 kB / 0.8005 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.8081, allocations: 20.81 kB / 0.8006 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.8097, allocations: 0.8653 MB / 0.8014 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.8098, allocations: 112.5 kB / 0.8015 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.81, allocations: 167.5 kB / 0.8017 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.8111, allocations: 0.7244 MB / 0.8024 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8111, allocations: 0 / 0.8024 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8111, allocations: 0 / 0.8024 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.8111, allocations: 0 / 0.8024 GB, free: 12.16 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.000997/0.8121, allocations: 0.6501 MB / 0.803 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8122, allocations: 10.25 kB / 0.803 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.8133, allocations: 152.9 kB / 0.8032 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.8139, allocations: 321.4 kB / 0.8035 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.8139, allocations: 17.31 kB / 0.8035 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.8139, allocations: 20.09 kB / 0.8035 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.8144, allocations: 276.8 kB / 0.8038 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.8144, allocations: 14.5 kB / 0.8038 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.8145, allocations: 6.812 kB / 0.8038 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.8145, allocations: 7.469 kB / 0.8038 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.8149, allocations: 189.4 kB / 0.804 GB, free: 11.32 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.001369/0.8163, allocations: 1.207 MB / 0.8052 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.8165, allocations: 135 kB / 0.8053 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.8167, allocations: 98.59 kB / 0.8054 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.8173, allocations: 298 kB / 0.8057 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.8173, allocations: 43.59 kB / 0.8057 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.8173, allocations: 0 / 0.8057 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007369/0.8181, allocations: 281.5 kB / 0.806 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.8181, allocations: 53.97 kB / 0.806 GB, free: 10 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.8184, allocations: 317.3 kB / 0.8063 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.8185, allocations: 28.89 kB / 0.8064 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.8186, allocations: 185.5 kB / 0.8065 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.8187, allocations: 53.09 kB / 0.8066 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.8188, allocations: 56.64 kB / 0.8066 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8189, allocations: 336.6 kB / 0.807 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8191, allocations: 64.52 kB / 0.807 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.8193, allocations: 129.1 kB / 0.8071 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.8196, allocations: 185.7 kB / 0.8073 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8196, allocations: 4 kB / 0.8073 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004378/0.8201, allocations: 241.5 kB / 0.8076 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8201, allocations: 4.688 kB / 0.8076 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8201, allocations: 2.75 kB / 0.8076 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8201, allocations: 3 kB / 0.8076 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.8203, allocations: 39.98 kB / 0.8076 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8203, allocations: 6.984 kB / 0.8076 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.8206, allocations: 33.12 kB / 0.8076 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.8206, allocations: 12.42 kB / 0.8077 GB, free: 9.035 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.0001475/0.8207, allocations: 155.6 kB / 0.8078 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.8208, allocations: 28.31 kB / 0.8078 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.8213, allocations: 215.8 kB / 0.808 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.8213, allocations: 0 / 0.808 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8213, allocations: 7.938 kB / 0.808 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8213, allocations: 2.781 kB / 0.8081 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/0.8223, allocations: 0.6852 MB / 0.8087 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8223, allocations: 2.75 kB / 0.8087 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.8225, allocations: 32.84 kB / 0.8088 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8225, allocations: 2.125 kB / 0.8088 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.8225, allocations: 6.156 kB / 0.8088 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8225, allocations: 6.969 kB / 0.8088 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8225, allocations: 2.719 kB / 0.8088 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.8232, allocations: 435.3 kB / 0.8092 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.8233, allocations: 122.3 kB / 0.8093 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.8233, allocations: 10.64 kB / 0.8093 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.8235, allocations: 9.406 kB / 0.8093 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.8236, allocations: 14.98 kB / 0.8093 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.8236, allocations: 4.844 kB / 0.8093 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002213/0.8238, allocations: 227.5 kB / 0.8096 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8238, allocations: 4.062 kB / 0.8096 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004181/0.8242, allocations: 78.88 kB / 0.8096 GB, free: 7.82 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.0004241/0.8247, allocations: 176.8 kB / 0.8098 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.8251, allocations: 177.5 kB / 0.81 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8251, allocations: 0 / 0.81 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.8253, allocations: 92.05 kB / 0.8101 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.8262, allocations: 167 kB / 0.8102 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.8272, allocations: 0.6229 MB / 0.8108 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.8276, allocations: 0.7749 MB / 0.8116 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.8277, allocations: 27.41 kB / 0.8116 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.8277, allocations: 4 kB / 0.8116 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of Templates: time 0.007586/0.8353, allocations: 4.845 MB / 0.8163 GB, free: 3.949 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)