Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001336/0.001336, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 283 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8989/0.8989, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 92.91 kB / 0.5946 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.4792/0.6183, allocations: 212.4 MB / 0.8869 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.6414, allocations: 21.49 MB / 0.9079 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.6433, allocations: 47.06 kB / 0.908 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.6455, allocations: 0.6175 MB / 0.9086 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00947/0.655, allocations: 3.989 MB / 0.9125 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6578, allocations: 0.9599 MB / 0.9134 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005943/0.6638, allocations: 5.369 MB / 0.9187 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.6657, allocations: 1.334 MB / 0.92 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.6689, allocations: 1.44 MB / 0.9214 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.6725, allocations: 1.599 MB / 0.9229 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.6728, allocations: 96 kB / 0.923 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.6771, allocations: 2.1 MB / 0.9251 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008553/0.6779, allocations: 0.6739 MB / 0.9257 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.6794, allocations: 0.8746 MB / 0.9266 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004014/0.6834, allocations: 2.956 MB / 0.9295 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6834, allocations: 3.938 kB / 0.9295 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6834, allocations: 0 / 0.9295 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.055e-05/0.6834, allocations: 4 kB / 0.9295 GB, free: 7.859 MB / 0.6387 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.003149/0.6866, allocations: 2.042 MB / 0.9315 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6866, allocations: 8.031 kB / 0.9315 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.6869, allocations: 194.1 kB / 0.9317 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.6891, allocations: 401.5 kB / 0.932 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.6908, allocations: 1.1 MB / 0.9331 GB, free: 4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.6909, allocations: 98.56 kB / 0.9332 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.6911, allocations: 144 kB / 0.9333 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.6934, allocations: 1.586 MB / 0.9349 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.6934, allocations: 4 kB / 0.9349 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6936, allocations: 52 kB / 0.935 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.6936, allocations: 50.44 kB / 0.935 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.6955, allocations: 1.294 MB / 0.9363 GB, free: 0.6953 MB / 0.6387 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.007401/0.7029, allocations: 6.492 MB / 0.9426 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.7044, allocations: 0.938 MB / 0.9435 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.705, allocations: 486.5 kB / 0.944 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/0.7058, allocations: 413 kB / 0.9444 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.7058, allocations: 43.22 kB / 0.9444 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.7058, allocations: 3.938 kB / 0.9444 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005279/0.7111, allocations: 2.934 MB / 0.9473 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7112, allocations: 64.41 kB / 0.9473 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.7127, allocations: 1.201 MB / 0.9485 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.7128, allocations: 45.7 kB / 0.9486 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.7133, allocations: 0.6799 MB / 0.9492 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.7136, allocations: 307.6 kB / 0.9495 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.7139, allocations: 186.6 kB / 0.9497 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.714, allocations: 349.9 kB / 0.95 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.7146, allocations: 373.8 kB / 0.9504 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.7155, allocations: 0.7307 MB / 0.9511 GB, free: 0.6602 MB / 0.6544 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.01208/0.7276, allocations: 2.916 MB / 0.954 GB, free: 13.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.7276, allocations: 4 kB / 0.954 GB, free: 13.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002129/0.7297, allocations: 1.3 MB / 0.9552 GB, free: 12.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7298, allocations: 8 kB / 0.9552 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.7298, allocations: 12 kB / 0.9552 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.7301, allocations: 127.2 kB / 0.9554 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.7308, allocations: 219.6 kB / 0.9556 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.735, allocations: 4.82 MB / 0.9603 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7364, allocations: 111.7 kB / 0.9604 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.7365, allocations: 47.94 kB / 0.9604 GB, free: 6.555 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.7372, allocations: 439.7 kB / 0.9609 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.7374, allocations: 138.3 kB / 0.961 GB, free: 5.984 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.7391, allocations: 1.1 MB / 0.9621 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7392, allocations: 12 kB / 0.9621 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.7392, allocations: 0 / 0.9621 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/0.7405, allocations: 1.058 MB / 0.9631 GB, free: 3.742 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.7456, allocations: 3.086 MB / 0.9661 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7456, allocations: 4 kB / 0.9661 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.7463, allocations: 163.7 kB / 0.9663 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.7466, allocations: 130.5 kB / 0.9664 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.7466, allocations: 20 kB / 0.9664 GB, free: 136 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.7503, allocations: 4.824 MB / 0.9711 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.7503, allocations: 11.88 kB / 0.9711 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.7527, allocations: 1.738 MB / 0.9728 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.7533, allocations: 311.3 kB / 0.9731 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.7535, allocations: 27.98 kB / 0.9732 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.7544, allocations: 75.73 kB / 0.9732 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7545, allocations: 76.36 kB / 0.9733 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.7546, allocations: 35.98 kB / 0.9733 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001152/0.7558, allocations: 0.8461 MB / 0.9742 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7558, allocations: 4 kB / 0.9742 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001484/0.7573, allocations: 408 kB / 0.9746 GB, free: 7.266 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00313/0.7604, allocations: 2.431 MB / 0.9769 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.7624, allocations: 1.273 MB / 0.9782 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7625, allocations: 0 / 0.9782 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.7634, allocations: 0.7844 MB / 0.9789 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/0.7672, allocations: 0.8495 MB / 0.9798 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.7854, allocations: 12.62 MB / 0.9921 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.7865, allocations: 1.355 MB / 0.9934 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001517/0.788, allocations: 352.8 kB / 0.9938 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/0.7888, allocations: 0.554 MB / 0.9943 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of SimCode: time 6.51e-07/0.7888, allocations: 3.938 kB / 0.9943 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.545/7.334, allocations: 41.85 MB / 1.035 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/7.334, allocations: 271.6 kB / 1.035 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/10.05, allocations: 3.938 kB / 1.035 GB, free: 8.5 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)