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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8202/0.8202, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 172.9 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009361, allocations: 93.78 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 272.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.508e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4528, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.538, allocations: 1.898 GB / 2.655 GB, free: 160.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/5.538, allocations: 91.94 kB / 2.656 GB, free: 160.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.074/10.61, allocations: 1.28 GB / 3.936 GB, free: 84.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/10.61, allocations: 0 / 3.936 GB, free: 84.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000133/10.61, allocations: 41.75 kB / 3.936 GB, free: 84.96 MB / 0.7136 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.004934/10.62, allocations: 1.827 MB / 3.938 GB, free: 84.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/10.62, allocations: 11.09 kB / 3.938 GB, free: 84.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/10.62, allocations: 375.2 kB / 3.938 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/10.62, allocations: 1.134 MB / 3.939 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/10.62, allocations: 40.62 kB / 3.939 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/10.62, allocations: 83 kB / 3.939 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00205/10.62, allocations: 1.104 MB / 3.94 GB, free: 83.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/10.63, allocations: 1.31 MB / 3.942 GB, free: 83.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/10.63, allocations: 6.781 kB / 3.942 GB, free: 83.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/10.63, allocations: 3.25 kB / 3.942 GB, free: 83.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/10.63, allocations: 45.73 kB / 3.942 GB, free: 83.75 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007736/10.63, allocations: 6.25 MB / 3.948 GB, free: 80.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/10.64, allocations: 0.7229 MB / 3.948 GB, free: 80.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/10.64, allocations: 388.5 kB / 3.949 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/10.64, allocations: 404.6 kB / 3.949 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/10.64, allocations: 46.38 kB / 3.949 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/10.64, allocations: 6.344 kB / 3.949 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002315/10.64, allocations: 1.006 MB / 3.95 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/10.64, allocations: 63.84 kB / 3.95 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009904/10.64, allocations: 0.7265 MB / 3.951 GB, free: 79.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-05/10.64, allocations: 29.52 kB / 3.951 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/10.64, allocations: 0.7084 MB / 3.952 GB, free: 79.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/10.64, allocations: 257.3 kB / 3.952 GB, free: 79.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/10.64, allocations: 0 / 3.952 GB, free: 79.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/10.64, allocations: 342.2 kB / 3.952 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/10.64, allocations: 315.2 kB / 3.953 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/10.64, allocations: 0.6957 MB / 3.953 GB, free: 78.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009846/10.64, allocations: 0.5498 MB / 3.954 GB, free: 78.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/10.64, allocations: 3.969 kB / 3.954 GB, free: 78.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00228/10.65, allocations: 1.226 MB / 3.955 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/10.65, allocations: 11.77 kB / 3.955 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/10.65, allocations: 7.812 kB / 3.955 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/10.65, allocations: 149.5 kB / 3.955 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/10.65, allocations: 196.3 kB / 3.955 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/10.65, allocations: 4.63 MB / 3.96 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/10.65, allocations: 113.3 kB / 3.96 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/10.65, allocations: 47.3 kB / 3.96 GB, free: 74.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002344/10.65, allocations: 140.5 kB / 3.96 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001748/10.65, allocations: 0.9457 MB / 3.961 GB, free: 74.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/10.65, allocations: 119.3 kB / 3.961 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/10.66, allocations: 1.065 MB / 3.962 GB, free: 74.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/10.66, allocations: 7.812 kB / 3.962 GB, free: 74.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/10.66, allocations: 0 / 3.962 GB, free: 74.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/10.66, allocations: 0.9776 MB / 3.963 GB, free: 73.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/10.66, allocations: 2.276 MB / 3.965 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/10.66, allocations: 0 / 3.965 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/10.66, allocations: 136.8 kB / 3.966 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/10.66, allocations: 129.1 kB / 3.966 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/10.66, allocations: 15.05 kB / 3.966 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/10.67, allocations: 4.599 MB / 3.97 GB, free: 69.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/10.67, allocations: 3.812 kB / 3.97 GB, free: 69.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/10.67, allocations: 1.648 MB / 3.972 GB, free: 69.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/10.67, allocations: 280.8 kB / 3.972 GB, free: 68.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/10.67, allocations: 15.34 kB / 3.972 GB, free: 68.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/10.67, allocations: 59.33 kB / 3.972 GB, free: 68.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/10.67, allocations: 51.02 kB / 3.972 GB, free: 68.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/10.67, allocations: 31.44 kB / 3.972 GB, free: 68.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009097/10.67, allocations: 0.5578 MB / 3.973 GB, free: 68.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.252e-06/10.67, allocations: 2.219 kB / 3.973 GB, free: 68.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002609/10.67, allocations: 0.6099 MB / 3.973 GB, free: 68.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006111/10.68, allocations: 5.452 MB / 3.979 GB, free: 66.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001642/10.68, allocations: 1.108 MB / 3.98 GB, free: 65.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/10.68, allocations: 2.406 kB / 3.98 GB, free: 65.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/10.68, allocations: 0.687 MB / 3.98 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/10.69, allocations: 0.5823 MB / 3.981 GB, free: 65.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/10.69, allocations: 2.376 MB / 3.983 GB, free: 64.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/10.69, allocations: 1.377 MB / 3.985 GB, free: 64.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001411/10.69, allocations: 300.6 kB / 3.985 GB, free: 64.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/10.69, allocations: 0.5198 MB / 3.985 GB, free: 64.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/10.69, allocations: 0 / 3.985 GB, free: 64.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0888/10.78, allocations: 50.6 MB / 4.035 GB, free: 61.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/10.78, allocations: 158.9 kB / 4.035 GB, free: 61.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.812/14.59, allocations: 0 / 4.035 GB, free: 61.68 MB / 0.7136 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/linux/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)