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.0009337/0.0009337, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007815/0.007815, allocations: 169 kB / 16.26 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 266.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 12.38 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.497/0.6521, allocations: 209.5 MB / 0.8899 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02376/0.6759, allocations: 21.22 MB / 0.9106 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.6775, allocations: 47.69 kB / 0.9106 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.6792, allocations: 0.6294 MB / 0.9112 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008931/0.6882, allocations: 3.973 MB / 0.9151 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.6905, allocations: 0.9687 MB / 0.9161 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005369/0.6959, allocations: 5.365 MB / 0.9213 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.6978, allocations: 1.291 MB / 0.9226 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.7006, allocations: 1.389 MB / 0.9239 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.7039, allocations: 1.537 MB / 0.9254 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.7041, allocations: 72 kB / 0.9255 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/0.7078, allocations: 2.081 MB / 0.9275 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006447/0.7084, allocations: 0.6505 MB / 0.9282 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000961/0.7094, allocations: 0.8567 MB / 0.929 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.7127, allocations: 2.916 MB / 0.9318 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7127, allocations: 0 / 0.9318 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.256e-06/0.7127, allocations: 0 / 0.9318 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.7128, allocations: 3.938 kB / 0.9318 GB, free: 3.113 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.00265/0.7154, allocations: 1.713 MB / 0.9335 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7155, allocations: 12.03 kB / 0.9335 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.7157, allocations: 190.1 kB / 0.9337 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.7178, allocations: 397.6 kB / 0.9341 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.7196, allocations: 1.101 MB / 0.9352 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.7196, allocations: 98.56 kB / 0.9353 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.7199, allocations: 135.9 kB / 0.9354 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.7222, allocations: 1.6 MB / 0.9369 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.7223, allocations: 3.984 kB / 0.937 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.7224, allocations: 56 kB / 0.937 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.7225, allocations: 50.44 kB / 0.9371 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.7245, allocations: 1.298 MB / 0.9383 GB, free: 12.27 MB / 0.6544 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.007115/0.7316, allocations: 6.481 MB / 0.9446 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.733, allocations: 0.9574 MB / 0.9456 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.7337, allocations: 487.5 kB / 0.946 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.7344, allocations: 425 kB / 0.9465 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.7344, allocations: 47.22 kB / 0.9465 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/0.7344, allocations: 0 / 0.9465 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004977/0.7394, allocations: 2.94 MB / 0.9494 GB, free: 340 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7395, allocations: 64.34 kB / 0.9494 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.7409, allocations: 1.197 MB / 0.9506 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.741, allocations: 41.7 kB / 0.9506 GB, free: 14.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.7414, allocations: 0.676 MB / 0.9513 GB, free: 14.31 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.7417, allocations: 311.6 kB / 0.9516 GB, free: 14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.7418, allocations: 85.67 kB / 0.9517 GB, free: 13.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7419, allocations: 345.9 kB / 0.952 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.7425, allocations: 373.8 kB / 0.9524 GB, free: 13.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.7433, allocations: 0.7191 MB / 0.9531 GB, free: 12.34 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.01208/0.7554, allocations: 3.213 MB / 0.9562 GB, free: 9.004 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7554, allocations: 0 / 0.9562 GB, free: 9.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002051/0.7575, allocations: 1.304 MB / 0.9575 GB, free: 7.684 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7575, allocations: 8 kB / 0.9575 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7575, allocations: 8 kB / 0.9575 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.7578, allocations: 131.1 kB / 0.9576 GB, free: 7.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.7586, allocations: 211.6 kB / 0.9578 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.7624, allocations: 4.828 MB / 0.9625 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.7637, allocations: 115.7 kB / 0.9626 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.7638, allocations: 44 kB / 0.9627 GB, free: 1.938 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 sytem: 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.000668/0.7645, allocations: 432.9 kB / 0.9631 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.7647, allocations: 138.3 kB / 0.9632 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.7664, allocations: 1.092 MB / 0.9643 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.7664, allocations: 8 kB / 0.9643 GB, free: 256 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7664, allocations: 7.938 kB / 0.9643 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.7677, allocations: 1.058 MB / 0.9653 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.7727, allocations: 3.125 MB / 0.9684 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7727, allocations: 11.94 kB / 0.9684 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.7735, allocations: 159.7 kB / 0.9686 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.7737, allocations: 126.4 kB / 0.9687 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.7738, allocations: 28.39 kB / 0.9687 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.7774, allocations: 4.824 MB / 0.9734 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.7774, allocations: 11.98 kB / 0.9734 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.7796, allocations: 1.734 MB / 0.9751 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.7801, allocations: 311.4 kB / 0.9754 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.7803, allocations: 27.98 kB / 0.9755 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/0.7812, allocations: 77.05 kB / 0.9755 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7813, allocations: 80.28 kB / 0.9756 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.7814, allocations: 39.98 kB / 0.9756 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001038/0.7824, allocations: 0.8383 MB / 0.9765 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7824, allocations: 8 kB / 0.9765 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001359/0.7838, allocations: 408 kB / 0.9769 GB, free: 2.605 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.002766/0.7866, allocations: 2.421 MB / 0.9792 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.7884, allocations: 1.268 MB / 0.9805 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.7884, allocations: 5.5 kB / 0.9805 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.7895, allocations: 0.7884 MB / 0.9812 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/0.7942, allocations: 0.8453 MB / 0.9821 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.8105, allocations: 12.71 MB / 0.9945 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/0.8115, allocations: 1.359 MB / 0.9958 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001407/0.8129, allocations: 360.7 kB / 0.9961 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/0.8136, allocations: 0.5501 MB / 0.9967 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.8136, allocations: 0 / 0.9967 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.507/3.321, allocations: 41.52 MB / 1.037 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/3.321, allocations: 268.2 kB / 1.037 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.231/6.552, allocations: 7.938 kB / 1.037 GB, free: 4.105 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)