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.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001486/0.001486, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001904, allocations: 278.7 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 91.81 kB / 0.5948 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1593, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5376/0.697, allocations: 211.9 MB / 0.8867 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.7229, allocations: 21.18 MB / 0.9074 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.7248, allocations: 43.38 kB / 0.9074 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.7267, allocations: 0.6516 MB / 0.9081 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.7372, allocations: 3.986 MB / 0.9119 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.74, allocations: 0.9706 MB / 0.9129 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00491/0.745, allocations: 3.918 MB / 0.9167 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.747, allocations: 1.518 MB / 0.9182 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.7502, allocations: 1.639 MB / 0.9198 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003231/0.7534, allocations: 1.645 MB / 0.9214 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.7537, allocations: 160 kB / 0.9216 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.7578, allocations: 1.913 MB / 0.9234 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008431/0.7587, allocations: 0.7442 MB / 0.9242 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.7599, allocations: 0.9604 MB / 0.9251 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.7638, allocations: 3.022 MB / 0.928 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7639, allocations: 8 kB / 0.9281 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7639, allocations: 0 / 0.9281 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.7639, allocations: 0 / 0.9281 GB, free: 9.324 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.003413/0.7673, allocations: 2.038 MB / 0.93 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7674, allocations: 8.031 kB / 0.9301 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.7676, allocations: 202.1 kB / 0.9302 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.7702, allocations: 399.8 kB / 0.9306 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.7721, allocations: 1.097 MB / 0.9317 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.7722, allocations: 102.5 kB / 0.9318 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.7724, allocations: 132 kB / 0.9319 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.7751, allocations: 1.594 MB / 0.9335 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.7752, allocations: 0 / 0.9335 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.7753, allocations: 52 kB / 0.9335 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.7753, allocations: 50.45 kB / 0.9336 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.7775, allocations: 1.298 MB / 0.9348 GB, free: 2.164 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.008119/0.7857, allocations: 6.488 MB / 0.9412 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.7874, allocations: 0.9497 MB / 0.9421 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.788, allocations: 475.7 kB / 0.9426 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/0.7889, allocations: 420.9 kB / 0.943 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.789, allocations: 39.22 kB / 0.943 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/0.789, allocations: 0 / 0.943 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005524/0.7945, allocations: 2.948 MB / 0.9459 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7946, allocations: 64.41 kB / 0.9459 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.7959, allocations: 1.197 MB / 0.9471 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.796, allocations: 45.7 kB / 0.9472 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.7965, allocations: 0.6761 MB / 0.9478 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.7967, allocations: 299.6 kB / 0.9481 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.797, allocations: 202.5 kB / 0.9483 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7971, allocations: 345.9 kB / 0.9486 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.7977, allocations: 381.7 kB / 0.949 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.7985, allocations: 0.7152 MB / 0.9497 GB, free: 2.133 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.0119/0.8104, allocations: 2.936 MB / 0.9526 GB, free: 15.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8104, allocations: 4 kB / 0.9526 GB, free: 15.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001984/0.8124, allocations: 1.295 MB / 0.9538 GB, free: 13.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.8125, allocations: 8.125 kB / 0.9538 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.8125, allocations: 12 kB / 0.9538 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/0.8128, allocations: 126.5 kB / 0.954 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.8135, allocations: 219.5 kB / 0.9542 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.8176, allocations: 5.369 MB / 0.9594 GB, free: 7.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8192, allocations: 111.7 kB / 0.9595 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.8193, allocations: 44 kB / 0.9596 GB, free: 7.461 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.0006229/0.8199, allocations: 429.3 kB / 0.96 GB, free: 7.031 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.8201, allocations: 138.3 kB / 0.9601 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.8219, allocations: 1.108 MB / 0.9612 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8219, allocations: 8 kB / 0.9612 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8219, allocations: 0 / 0.9612 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/0.8233, allocations: 1.054 MB / 0.9622 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.8285, allocations: 3.086 MB / 0.9652 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.8285, allocations: 8.156 kB / 0.9652 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.8293, allocations: 155.8 kB / 0.9654 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.8295, allocations: 126.5 kB / 0.9655 GB, free: 1.066 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.8296, allocations: 27.98 kB / 0.9655 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.8335, allocations: 5.365 MB / 0.9708 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8335, allocations: 4 kB / 0.9708 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.8358, allocations: 1.746 MB / 0.9725 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.8364, allocations: 319.2 kB / 0.9728 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.8365, allocations: 20 kB / 0.9728 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/0.8374, allocations: 84.91 kB / 0.9729 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.8376, allocations: 76.3 kB / 0.973 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.8377, allocations: 31.98 kB / 0.973 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001082/0.8388, allocations: 0.85 MB / 0.9738 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8388, allocations: 0 / 0.9738 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00143/0.8402, allocations: 408 kB / 0.9742 GB, free: 7.613 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.002876/0.8431, allocations: 2.427 MB / 0.9766 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.8453, allocations: 1.453 MB / 0.978 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.8453, allocations: 4 kB / 0.978 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.8461, allocations: 0.7882 MB / 0.9788 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/0.8497, allocations: 0.9013 MB / 0.9797 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.8661, allocations: 12.63 MB / 0.992 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008833/0.8671, allocations: 1.355 MB / 0.9933 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001345/0.8684, allocations: 360.8 kB / 0.9937 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/0.8691, allocations: 0.55 MB / 0.9942 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of SimCode: time 5.82e-07/0.8691, allocations: 0 / 0.9942 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/1.154, allocations: 43.07 MB / 1.036 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.154, allocations: 269.1 kB / 1.037 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/4.128, allocations: 0 / 1.037 GB, free: 7.473 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)