Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.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.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",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.001604/0.001604, allocations: 96.27 kB / 15.69 MB, free: 480 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.002127/0.002126, allocations: 178.2 kB / 16.57 MB, free: 6.855 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.506/2.506, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.078/1.078, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005575, allocations: 16.8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2387, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.9383/1.177, allocations: 177 MB / 0.7296 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03786/1.215, allocations: 18.58 MB / 0.7477 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/1.218, allocations: 43.69 kB / 0.7477 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004426/1.222, allocations: 0.7622 MB / 0.7485 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0168/1.239, allocations: 2.925 MB / 0.7513 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008438/1.248, allocations: 1.219 MB / 0.7525 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009048/1.257, allocations: 2.269 MB / 0.7548 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004894/1.262, allocations: 1.187 MB / 0.7559 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008687/1.271, allocations: 1.682 MB / 0.7576 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/1.275, allocations: 1.114 MB / 0.7586 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007733/1.276, allocations: 72 kB / 0.7587 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/1.281, allocations: 0.8463 MB / 0.7595 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/1.283, allocations: 0.5961 MB / 0.7601 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/1.285, allocations: 356.9 kB / 0.7605 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005986/1.291, allocations: 1.956 MB / 0.7624 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.291, allocations: 0 / 0.7624 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.095e-06/1.291, allocations: 0 / 0.7624 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001391/1.291, allocations: 0 / 0.7624 GB, free: 7.578 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.007234/1.298, allocations: 1.692 MB / 0.764 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/1.298, allocations: 16.03 kB / 0.764 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008962/1.299, allocations: 194.1 kB / 0.7642 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/1.304, allocations: 405.5 kB / 0.7646 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/1.309, allocations: 1.063 MB / 0.7656 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/1.309, allocations: 98.56 kB / 0.7657 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000665/1.309, allocations: 136 kB / 0.7659 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/1.315, allocations: 1.563 MB / 0.7674 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/1.315, allocations: 4 kB / 0.7674 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/1.316, allocations: 59.98 kB / 0.7675 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/1.316, allocations: 54.39 kB / 0.7675 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004062/1.32, allocations: 1.282 MB / 0.7688 GB, free: 0.8242 MB / 0.5762 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.01564/1.336, allocations: 6.477 MB / 0.7751 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/1.338, allocations: 0.9421 MB / 0.776 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006536/1.339, allocations: 157.7 kB / 0.7762 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.339, allocations: 43.22 kB / 0.7762 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 5.149e-06/1.339, allocations: 3.938 kB / 0.7762 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.01132/1.35, allocations: 2.938 MB / 0.7791 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/1.35, allocations: 64.41 kB / 0.7791 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/1.353, allocations: 1.182 MB / 0.7803 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.353, allocations: 45.7 kB / 0.7803 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008151/1.354, allocations: 0.676 MB / 0.781 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/1.355, allocations: 307.6 kB / 0.7813 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/1.355, allocations: 20 kB / 0.7813 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.355, allocations: 349.9 kB / 0.7816 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/1.356, allocations: 365.8 kB / 0.782 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009897/1.357, allocations: 0.7151 MB / 0.7827 GB, free: 1.805 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.374, allocations: 2.377 MB / 0.785 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/1.374, allocations: 0 / 0.785 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004313/1.378, allocations: 1.29 MB / 0.7863 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/1.378, allocations: 8.781 kB / 0.7863 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/1.378, allocations: 11.98 kB / 0.7863 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/1.379, allocations: 138.5 kB / 0.7864 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.38, allocations: 207.7 kB / 0.7866 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/1.387, allocations: 4.859 MB / 0.7914 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/1.39, allocations: 115.7 kB / 0.7915 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/1.39, allocations: 44 kB / 0.7915 GB, free: 8.328 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001367/1.391, allocations: 428.8 kB / 0.7919 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/1.392, allocations: 142.3 kB / 0.7921 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/1.395, allocations: 1.084 MB / 0.7931 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.395, allocations: 12.42 kB / 0.7931 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.395, allocations: 0 / 0.7931 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002101/1.397, allocations: 1.058 MB / 0.7942 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/1.406, allocations: 3.12 MB / 0.7972 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/1.406, allocations: 8 kB / 0.7972 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.407, allocations: 159.8 kB / 0.7974 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/1.408, allocations: 135.1 kB / 0.7975 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.408, allocations: 31.98 kB / 0.7975 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006232/1.414, allocations: 4.844 MB / 0.8023 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.414, allocations: 7.938 kB / 0.8023 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00489/1.419, allocations: 2.092 MB / 0.8043 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.421, allocations: 311.4 kB / 0.8046 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.421, allocations: 27.98 kB / 0.8046 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.423, allocations: 75.92 kB / 0.8047 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/1.423, allocations: 84.36 kB / 0.8048 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.423, allocations: 31.98 kB / 0.8048 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002071/1.425, allocations: 0.8343 MB / 0.8056 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.31e-07/1.425, allocations: 0 / 0.8056 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003206/1.428, allocations: 408 kB / 0.806 GB, free: 8.383 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006692/1.435, allocations: 4.34 MB / 0.8103 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003426/1.439, allocations: 1.273 MB / 0.8115 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/1.439, allocations: 0 / 0.8115 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.44, allocations: 0.7899 MB / 0.8123 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007631/1.448, allocations: 0.8405 MB / 0.8131 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03149/1.48, allocations: 14.43 MB / 0.8272 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/1.482, allocations: 1.394 MB / 0.8285 GB, free: 492 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003332/1.485, allocations: 352.8 kB / 0.8289 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5439/2.029, allocations: 0.5434 MB / 0.8294 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of SimCode: time 2.625e-06/2.029, allocations: 0 / 0.8294 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1738/2.203, allocations: 42.69 MB / 0.8711 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/2.203, allocations: 233.7 kB / 0.8713 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.442/7.646, allocations: 0 / 0.8713 GB, free: 211.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: