Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_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.005457/0.005456, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001208/0.001208, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9385/0.9385, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4135, allocations: 80.9 MB / 0.6642 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6462/1.06, allocations: 214.6 MB / 0.8737 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02439/1.084, allocations: 21.33 MB / 0.8946 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.086, allocations: 52.62 kB / 0.8946 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/1.088, allocations: 0.7549 MB / 0.8954 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/1.098, allocations: 4.403 MB / 0.8997 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/1.101, allocations: 1.067 MB / 0.9007 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00525/1.106, allocations: 3.924 MB / 0.9045 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/1.109, allocations: 1.572 MB / 0.9061 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/1.112, allocations: 1.677 MB / 0.9077 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/1.116, allocations: 1.572 MB / 0.9092 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000415/1.117, allocations: 161.2 kB / 0.9094 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/1.121, allocations: 1.838 MB / 0.9112 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008573/1.122, allocations: 0.7443 MB / 0.9119 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/1.124, allocations: 0.9608 MB / 0.9129 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004651/1.128, allocations: 2.929 MB / 0.9157 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.128, allocations: 0.5625 kB / 0.9157 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/1.128, allocations: 7.906 kB / 0.9157 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.162e-05/1.128, allocations: 0 / 0.9157 GB, free: 0.9727 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.003229/1.132, allocations: 2.039 MB / 0.9177 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.132, allocations: 11.5 kB / 0.9177 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/1.132, allocations: 198 kB / 0.9179 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.134, allocations: 398.7 kB / 0.9183 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.136, allocations: 1.166 MB / 0.9194 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/1.136, allocations: 98.09 kB / 0.9195 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/1.136, allocations: 139 kB / 0.9197 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/1.138, allocations: 1.583 MB / 0.9212 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/1.138, allocations: 4.344 kB / 0.9212 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.139, allocations: 55.02 kB / 0.9213 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/1.139, allocations: 54.84 kB / 0.9213 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.141, allocations: 1.29 MB / 0.9226 GB, free: 15.21 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.00794/1.148, allocations: 6.469 MB / 0.9289 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.15, allocations: 0.9407 MB / 0.9298 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/1.15, allocations: 482 kB / 0.9303 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/1.151, allocations: 419 kB / 0.9307 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.151, allocations: 39.91 kB / 0.9307 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/1.151, allocations: 0.8125 kB / 0.9307 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005784/1.157, allocations: 2.938 MB / 0.9336 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.157, allocations: 65.75 kB / 0.9336 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.159, allocations: 1.202 MB / 0.9348 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.159, allocations: 47.58 kB / 0.9349 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/1.16, allocations: 0.6785 MB / 0.9355 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/1.16, allocations: 299.8 kB / 0.9358 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.16, allocations: 191.1 kB / 0.936 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.16, allocations: 347.8 kB / 0.9363 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/1.161, allocations: 369.8 kB / 0.9367 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/1.162, allocations: 0.7322 MB / 0.9374 GB, free: 9.176 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.01104/1.173, allocations: 2.915 MB / 0.9402 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.173, allocations: 2.469 kB / 0.9402 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002101/1.175, allocations: 1.302 MB / 0.9415 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.175, allocations: 14.06 kB / 0.9415 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.175, allocations: 12.45 kB / 0.9415 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/1.175, allocations: 136.3 kB / 0.9417 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/1.176, allocations: 202 kB / 0.9419 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/1.18, allocations: 5.364 MB / 0.9471 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.181, allocations: 51 kB / 0.9471 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/1.182, allocations: 47.23 kB / 0.9472 GB, free: 4.066 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.0007848/1.182, allocations: 435.6 kB / 0.9476 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/1.183, allocations: 141.3 kB / 0.9477 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/1.184, allocations: 1.102 MB / 0.9488 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.184, allocations: 8.312 kB / 0.9488 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/1.184, allocations: 0 / 0.9488 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/1.185, allocations: 1.054 MB / 0.9499 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/1.191, allocations: 3.086 MB / 0.9529 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.191, allocations: 9.281 kB / 0.9529 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/1.191, allocations: 159 kB / 0.953 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/1.192, allocations: 123.6 kB / 0.9532 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/1.192, allocations: 33.42 kB / 0.9532 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/1.196, allocations: 5.362 MB / 0.9584 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.196, allocations: 10.28 kB / 0.9584 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/1.198, allocations: 1.768 MB / 0.9602 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/1.199, allocations: 320.3 kB / 0.9605 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.199, allocations: 22.62 kB / 0.9605 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/1.2, allocations: 28.7 kB / 0.9605 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.2, allocations: 74.7 kB / 0.9606 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/1.2, allocations: 37.11 kB / 0.9606 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001149/1.201, allocations: 0.8501 MB / 0.9614 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.201, allocations: 0 / 0.9614 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001483/1.203, allocations: 409.7 kB / 0.9618 GB, free: 11.32 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.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 () * 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.002867/1.206, allocations: 2.454 MB / 0.9642 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.207, allocations: 1.288 MB / 0.9655 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.207, allocations: 1.25 kB / 0.9655 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008649/1.208, allocations: 0.7898 MB / 0.9663 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/1.212, allocations: 0.8918 MB / 0.9671 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.226, allocations: 11.24 MB / 0.9781 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009835/1.227, allocations: 1.355 MB / 0.9794 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001202/1.228, allocations: 348.7 kB / 0.9798 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/1.229, allocations: 0.5461 MB / 0.9803 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/1.229, allocations: 0 / 0.9803 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08471/1.314, allocations: 43.7 MB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.07, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)