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.007842/0.007842, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001493/0.001493, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.426/1.426, 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/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 1.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4305, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.623/1.054, allocations: 214.8 MB / 0.8849 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02518/1.079, allocations: 21.4 MB / 0.9058 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/1.081, allocations: 51.88 kB / 0.9059 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/1.083, allocations: 0.7361 MB / 0.9066 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/1.093, allocations: 4.251 MB / 0.9107 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/1.096, allocations: 1.064 MB / 0.9118 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004307/1.1, allocations: 3.924 MB / 0.9156 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/1.102, allocations: 1.575 MB / 0.9171 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/1.105, allocations: 1.642 MB / 0.9188 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/1.108, allocations: 1.547 MB / 0.9203 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005183/1.109, allocations: 160.9 kB / 0.9204 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/1.113, allocations: 1.824 MB / 0.9222 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/1.114, allocations: 0.7459 MB / 0.9229 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/1.116, allocations: 0.9567 MB / 0.9239 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005426/1.122, allocations: 3.039 MB / 0.9268 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.122, allocations: 0 / 0.9268 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/1.122, allocations: 3.125 kB / 0.9268 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001037/1.122, allocations: 0 / 0.9268 GB, free: 0.6758 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.004677/1.126, allocations: 2.044 MB / 0.9288 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.126, allocations: 11.69 kB / 0.9288 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/1.127, allocations: 190.3 kB / 0.929 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/1.13, allocations: 409.9 kB / 0.9294 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/1.132, allocations: 1.156 MB / 0.9305 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/1.132, allocations: 97.38 kB / 0.9306 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/1.132, allocations: 133.4 kB / 0.9308 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/1.135, allocations: 1.585 MB / 0.9323 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.135, allocations: 9.5 kB / 0.9323 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.135, allocations: 58.23 kB / 0.9324 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/1.135, allocations: 53.48 kB / 0.9324 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.137, allocations: 1.295 MB / 0.9337 GB, free: 14.9 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.007183/1.144, allocations: 6.479 MB / 0.94 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.145, allocations: 0.9441 MB / 0.9409 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/1.146, allocations: 479 kB / 0.9414 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/1.146, allocations: 416.6 kB / 0.9418 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.147, allocations: 47.38 kB / 0.9418 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/1.147, allocations: 0 / 0.9418 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005086/1.152, allocations: 2.94 MB / 0.9447 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.152, allocations: 61.12 kB / 0.9448 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.153, allocations: 1.197 MB / 0.9459 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.153, allocations: 48.64 kB / 0.946 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/1.154, allocations: 0.6821 MB / 0.9466 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.154, allocations: 299.2 kB / 0.9469 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/1.155, allocations: 197 kB / 0.9471 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.155, allocations: 345.6 kB / 0.9474 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/1.155, allocations: 377.8 kB / 0.9478 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/1.156, allocations: 0.7212 MB / 0.9485 GB, free: 8.828 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.01184/1.168, allocations: 2.929 MB / 0.9514 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.168, allocations: 2.688 kB / 0.9514 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002282/1.171, allocations: 1.303 MB / 0.9526 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.171, allocations: 8.344 kB / 0.9527 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.171, allocations: 7.688 kB / 0.9527 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.171, allocations: 133.5 kB / 0.9528 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/1.172, allocations: 202.4 kB / 0.953 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/1.176, allocations: 5.376 MB / 0.9582 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.178, allocations: 56.67 kB / 0.9583 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.178, allocations: 49.33 kB / 0.9583 GB, free: 2.266 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.0008456/1.179, allocations: 419.2 kB / 0.9587 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.179, allocations: 139.6 kB / 0.9589 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.181, allocations: 1.105 MB / 0.9599 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.181, allocations: 5.906 kB / 0.96 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.181, allocations: 7.219 kB / 0.96 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/1.182, allocations: 1.052 MB / 0.961 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/1.188, allocations: 3.084 MB / 0.964 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.188, allocations: 5.875 kB / 0.964 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/1.189, allocations: 160.9 kB / 0.9642 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/1.189, allocations: 123.8 kB / 0.9643 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/1.189, allocations: 25.66 kB / 0.9643 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/1.193, allocations: 5.367 MB / 0.9695 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.193, allocations: 11.09 kB / 0.9696 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/1.196, allocations: 1.741 MB / 0.9713 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/1.197, allocations: 319.2 kB / 0.9716 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/1.197, allocations: 27.94 kB / 0.9716 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/1.198, allocations: 33.7 kB / 0.9716 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.198, allocations: 67.52 kB / 0.9717 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/1.198, allocations: 36.11 kB / 0.9717 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001319/1.2, allocations: 0.8461 MB / 0.9725 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.2, allocations: 4 kB / 0.9725 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001816/1.201, allocations: 404 kB / 0.9729 GB, free: 5.547 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.003044/1.205, allocations: 2.437 MB / 0.9753 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.206, allocations: 1.287 MB / 0.9766 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.206, allocations: 0.5625 kB / 0.9766 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/1.207, allocations: 0.8017 MB / 0.9774 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/1.211, allocations: 0.8872 MB / 0.9782 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.228, allocations: 11.24 MB / 0.9892 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.229, allocations: 1.359 MB / 0.9905 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001354/1.23, allocations: 356.6 kB / 0.9909 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007973/1.231, allocations: 0.5462 MB / 0.9914 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/1.231, allocations: 0 / 0.9914 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/1.312, allocations: 44.47 MB / 1.035 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.53, allocations: 15.59 kB / 1.035 GB, free: 6.305 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)