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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 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.001186/0.001186, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8733/0.8733, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.3903/0.5145, allocations: 214.8 MB / 0.8041 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.5357, allocations: 21.39 MB / 0.825 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.537, allocations: 51.69 kB / 0.8251 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.5387, allocations: 0.7416 MB / 0.8258 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.5464, allocations: 4.24 MB / 0.8299 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5485, allocations: 1.059 MB / 0.831 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003687/0.5522, allocations: 3.904 MB / 0.8348 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.5541, allocations: 1.573 MB / 0.8363 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.5563, allocations: 1.611 MB / 0.8379 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.5588, allocations: 1.551 MB / 0.8394 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.5591, allocations: 164 kB / 0.8396 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.562, allocations: 1.82 MB / 0.8413 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.5627, allocations: 0.7403 MB / 0.8421 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009387/0.5636, allocations: 0.9566 MB / 0.843 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.5664, allocations: 2.999 MB / 0.8459 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5664, allocations: 0 / 0.8459 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5664, allocations: 0 / 0.8459 GB, free: 11.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.5664, allocations: 4 kB / 0.8459 GB, free: 11.25 MB / 0.67 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.00254/0.569, allocations: 2.049 MB / 0.8479 GB, free: 9.145 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.569, allocations: 8.031 kB / 0.8479 GB, free: 9.137 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.5692, allocations: 190.1 kB / 0.8481 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.5711, allocations: 406.3 kB / 0.8485 GB, free: 8.543 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.5726, allocations: 1.101 MB / 0.8496 GB, free: 7.383 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.5727, allocations: 98.56 kB / 0.8497 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.5729, allocations: 139.9 kB / 0.8498 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.5749, allocations: 1.586 MB / 0.8514 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5749, allocations: 7.938 kB / 0.8514 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.575, allocations: 52 kB / 0.8514 GB, free: 5.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.575, allocations: 46.45 kB / 0.8515 GB, free: 5.383 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5768, allocations: 1.301 MB / 0.8527 GB, free: 4.074 MB / 0.67 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.2084/0.7852, allocations: 6.515 MB / 0.8591 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.7864, allocations: 0.9463 MB / 0.86 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.7869, allocations: 489 kB / 0.8605 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.7875, allocations: 409.3 kB / 0.8609 GB, free: 210.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.7875, allocations: 49.75 kB / 0.8609 GB, free: 210.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.7875, allocations: 0.5312 kB / 0.8609 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.004173/0.7917, allocations: 2.939 MB / 0.8638 GB, free: 209.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.7917, allocations: 58.31 kB / 0.8639 GB, free: 209.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.7929, allocations: 1.201 MB / 0.865 GB, free: 209.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.793, allocations: 48.73 kB / 0.8651 GB, free: 209.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.7933, allocations: 0.6757 MB / 0.8657 GB, free: 209.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.7935, allocations: 300.4 kB / 0.866 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.7937, allocations: 196.5 kB / 0.8662 GB, free: 208.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.7938, allocations: 348.3 kB / 0.8665 GB, free: 208.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.7942, allocations: 378.6 kB / 0.8669 GB, free: 208.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.7948, allocations: 0.7237 MB / 0.8676 GB, free: 207.8 MB / 0.67 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.01025/0.8051, allocations: 2.925 MB / 0.8705 GB, free: 206.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8051, allocations: 4.562 kB / 0.8705 GB, free: 206.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001546/0.8067, allocations: 1.299 MB / 0.8717 GB, free: 206.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8067, allocations: 9.125 kB / 0.8717 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8067, allocations: 9.547 kB / 0.8718 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.8069, allocations: 136.1 kB / 0.8719 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.8076, allocations: 209.2 kB / 0.8721 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.8103, allocations: 5.379 MB / 0.8773 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009442/0.8113, allocations: 43.78 kB / 0.8774 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.8113, allocations: 48.48 kB / 0.8774 GB, free: 201.4 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.0004661/0.8118, allocations: 433 kB / 0.8778 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.812, allocations: 145.8 kB / 0.878 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.8134, allocations: 1.093 MB / 0.879 GB, free: 200.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8134, allocations: 8.75 kB / 0.8791 GB, free: 200.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.8134, allocations: 0 / 0.8791 GB, free: 200.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009949/0.8144, allocations: 1.053 MB / 0.8801 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.8182, allocations: 3.089 MB / 0.8831 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8182, allocations: 5.25 kB / 0.8831 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.8189, allocations: 157.4 kB / 0.8833 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/0.8191, allocations: 134 kB / 0.8834 GB, free: 198.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.8191, allocations: 25.12 kB / 0.8834 GB, free: 198.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.8217, allocations: 5.363 MB / 0.8886 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.8217, allocations: 10.16 kB / 0.8887 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.8233, allocations: 1.742 MB / 0.8904 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.8237, allocations: 320 kB / 0.8907 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.8239, allocations: 25.83 kB / 0.8907 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.8246, allocations: 31.38 kB / 0.8907 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.8247, allocations: 73.11 kB / 0.8908 GB, free: 192.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.8248, allocations: 37.94 kB / 0.8908 GB, free: 192.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008085/0.8256, allocations: 0.8449 MB / 0.8916 GB, free: 192 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8256, allocations: 0 / 0.8916 GB, free: 192 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00118/0.8268, allocations: 407.4 kB / 0.892 GB, free: 192 MB / 0.67 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.002301/0.8291, allocations: 2.428 MB / 0.8944 GB, free: 190.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.8309, allocations: 1.447 MB / 0.8958 GB, free: 189.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8309, allocations: 3.422 kB / 0.8958 GB, free: 189.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007114/0.8316, allocations: 0.7866 MB / 0.8966 GB, free: 189.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/0.835, allocations: 0.9001 MB / 0.8975 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.8469, allocations: 12.17 MB / 0.9094 GB, free: 182.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007303/0.8476, allocations: 1.362 MB / 0.9107 GB, free: 181.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001144/0.8488, allocations: 359.1 kB / 0.911 GB, free: 181.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.8494, allocations: 0.5548 MB / 0.9116 GB, free: 180.9 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.8494, allocations: 0 / 0.9116 GB, free: 180.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.103/5.952, allocations: 43.32 MB / 0.9539 GB, free: 157.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/21.3, allocations: 2.656 kB / 0.9539 GB, free: 157.4 MB / 0.67 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)