Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_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.005676/0.005676, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00155/0.00155, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9336/0.9336, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.89 kB / 0.5953 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 82.02 MB / 0.6754 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.568/0.907, allocations: 214.8 MB / 0.8852 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.9283, allocations: 21.4 MB / 0.9061 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.9301, allocations: 53 kB / 0.9061 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.9319, allocations: 0.7351 MB / 0.9068 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.9408, allocations: 4.247 MB / 0.911 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.9432, allocations: 1.073 MB / 0.912 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.947, allocations: 3.913 MB / 0.9158 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.9487, allocations: 1.581 MB / 0.9174 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.9514, allocations: 1.618 MB / 0.919 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.954, allocations: 1.549 MB / 0.9205 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.9543, allocations: 159.6 kB / 0.9206 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.9575, allocations: 1.832 MB / 0.9224 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.9582, allocations: 0.7427 MB / 0.9232 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.9592, allocations: 0.9494 MB / 0.9241 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.9628, allocations: 3.056 MB / 0.9271 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9628, allocations: 0 / 0.9271 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9628, allocations: 2.812 kB / 0.9271 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.9629, allocations: 0.75 kB / 0.9271 GB, free: 0.6641 MB / 0.6856 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.002773/0.9656, allocations: 2.092 MB / 0.9291 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.9657, allocations: 11.09 kB / 0.9291 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002408/0.9659, allocations: 198.4 kB / 0.9293 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.9679, allocations: 410.2 kB / 0.9297 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.9698, allocations: 1.162 MB / 0.9308 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.9699, allocations: 105.2 kB / 0.9309 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.9701, allocations: 130.6 kB / 0.9311 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.9721, allocations: 1.587 MB / 0.9326 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.9722, allocations: 2.406 kB / 0.9326 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.9723, allocations: 55.06 kB / 0.9327 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.9723, allocations: 57.33 kB / 0.9327 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.974, allocations: 1.296 MB / 0.934 GB, free: 14.82 MB / 0.7012 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.007085/0.9811, allocations: 6.501 MB / 0.9403 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.9825, allocations: 0.9437 MB / 0.9413 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.9831, allocations: 488.3 kB / 0.9417 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/0.9839, allocations: 408.8 kB / 0.9421 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.984, allocations: 48.44 kB / 0.9422 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.556e-06/0.984, allocations: 2.844 kB / 0.9422 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.00528/0.9893, allocations: 2.969 MB / 0.9451 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.9893, allocations: 59.78 kB / 0.9451 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.9907, allocations: 1.203 MB / 0.9463 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.9908, allocations: 44.83 kB / 0.9463 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.9913, allocations: 0.6871 MB / 0.947 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.9916, allocations: 316 kB / 0.9473 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.9919, allocations: 190.9 kB / 0.9475 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.992, allocations: 350.6 kB / 0.9478 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.9926, allocations: 373.5 kB / 0.9482 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.9935, allocations: 0.7256 MB / 0.9489 GB, free: 8.684 MB / 0.7012 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.0107/1.004, allocations: 2.93 MB / 0.9517 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.004, allocations: 6.5 kB / 0.9518 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002037/1.006, allocations: 1.301 MB / 0.953 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.006, allocations: 10.47 kB / 0.953 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.006, allocations: 7.75 kB / 0.953 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/1.007, allocations: 133.4 kB / 0.9532 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/1.007, allocations: 213 kB / 0.9534 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/1.012, allocations: 5.38 MB / 0.9586 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.013, allocations: 45.31 kB / 0.9587 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/1.013, allocations: 47.95 kB / 0.9587 GB, free: 2.02 MB / 0.7012 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.0006997/1.014, allocations: 438.9 kB / 0.9591 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/1.014, allocations: 144.3 kB / 0.9593 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/1.016, allocations: 1.096 MB / 0.9603 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.016, allocations: 7.594 kB / 0.9603 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.016, allocations: 3.25 kB / 0.9604 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/1.017, allocations: 1.06 MB / 0.9614 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.022, allocations: 3.078 MB / 0.9644 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.022, allocations: 7.469 kB / 0.9644 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/1.023, allocations: 160.4 kB / 0.9646 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/1.023, allocations: 135 kB / 0.9647 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/1.023, allocations: 25.69 kB / 0.9647 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/1.027, allocations: 5.37 MB / 0.97 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.027, allocations: 11.17 kB / 0.97 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/1.03, allocations: 1.748 MB / 0.9717 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/1.031, allocations: 316.1 kB / 0.972 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/1.031, allocations: 31.92 kB / 0.972 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/1.032, allocations: 24 kB / 0.972 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.032, allocations: 82.69 kB / 0.9721 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/1.032, allocations: 35.98 kB / 0.9721 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001306/1.033, allocations: 0.8383 MB / 0.973 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/1.033, allocations: 0 / 0.973 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001588/1.035, allocations: 415.9 kB / 0.9734 GB, free: 5.238 MB / 0.7169 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.003397/1.038, allocations: 2.432 MB / 0.9757 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.04, allocations: 1.293 MB / 0.977 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.04, allocations: 0 / 0.977 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/1.041, allocations: 0.7985 MB / 0.9778 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.045, allocations: 0.8955 MB / 0.9786 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.064, allocations: 11.28 MB / 0.9897 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.065, allocations: 1.351 MB / 0.991 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00127/1.067, allocations: 360.6 kB / 0.9913 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/1.067, allocations: 0.5462 MB / 0.9919 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.067, allocations: 0 / 0.9919 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.318/2.385, allocations: 43.7 MB / 1.035 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/18.09, allocations: 11.83 kB / 1.035 GB, free: 6.766 MB / 0.7794 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)