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.006865/0.006865, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001577/0.001577, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9082/0.9082, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.5852 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4237, allocations: 80.92 MB / 0.6642 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.635/1.059, allocations: 214.6 MB / 0.8737 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02118/1.08, allocations: 21.33 MB / 0.8946 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/1.082, allocations: 52.78 kB / 0.8946 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/1.084, allocations: 0.7592 MB / 0.8954 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.094, allocations: 4.397 MB / 0.8997 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/1.097, allocations: 1.074 MB / 0.9007 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005475/1.103, allocations: 3.916 MB / 0.9045 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/1.105, allocations: 1.584 MB / 0.9061 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/1.109, allocations: 1.68 MB / 0.9077 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003606/1.113, allocations: 1.561 MB / 0.9092 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/1.113, allocations: 162.1 kB / 0.9094 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/1.117, allocations: 1.85 MB / 0.9112 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007429/1.118, allocations: 0.7388 MB / 0.9119 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/1.119, allocations: 0.9579 MB / 0.9129 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/1.123, allocations: 2.945 MB / 0.9157 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.123, allocations: 0 / 0.9157 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/1.123, allocations: 0 / 0.9157 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.681e-05/1.123, allocations: 0.9375 kB / 0.9157 GB, free: 0.9844 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.003036/1.126, allocations: 2.098 MB / 0.9178 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.127, allocations: 11.81 kB / 0.9178 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002151/1.127, allocations: 194.9 kB / 0.918 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/1.129, allocations: 405 kB / 0.9184 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/1.131, allocations: 1.172 MB / 0.9195 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/1.131, allocations: 102.7 kB / 0.9196 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/1.131, allocations: 132.9 kB / 0.9197 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.133, allocations: 1.589 MB / 0.9213 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/1.133, allocations: 0 / 0.9213 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.133, allocations: 53.03 kB / 0.9213 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/1.133, allocations: 49.8 kB / 0.9214 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.135, allocations: 1.295 MB / 0.9227 GB, free: 15.16 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.00683/1.142, allocations: 6.494 MB / 0.929 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.143, allocations: 0.9406 MB / 0.9299 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/1.144, allocations: 483.9 kB / 0.9304 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/1.144, allocations: 411.1 kB / 0.9308 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/1.144, allocations: 46.58 kB / 0.9308 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/1.144, allocations: 0.7812 kB / 0.9308 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004608/1.149, allocations: 2.956 MB / 0.9337 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/1.149, allocations: 64.44 kB / 0.9338 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.15, allocations: 1.207 MB / 0.9349 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/1.15, allocations: 45.64 kB / 0.935 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/1.151, allocations: 0.6867 MB / 0.9357 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/1.151, allocations: 312.7 kB / 0.936 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/1.151, allocations: 203.1 kB / 0.9361 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.151, allocations: 344.5 kB / 0.9365 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/1.152, allocations: 374 kB / 0.9368 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/1.153, allocations: 0.7321 MB / 0.9375 GB, free: 9.055 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.01102/1.164, allocations: 2.913 MB / 0.9404 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.164, allocations: 2.562 kB / 0.9404 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001874/1.165, allocations: 1.306 MB / 0.9417 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.166, allocations: 18.78 kB / 0.9417 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.166, allocations: 7.219 kB / 0.9417 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/1.166, allocations: 141.7 kB / 0.9418 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/1.167, allocations: 205.6 kB / 0.942 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/1.17, allocations: 5.368 MB / 0.9473 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.172, allocations: 54.34 kB / 0.9473 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/1.172, allocations: 44.52 kB / 0.9474 GB, free: 3.934 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.000684/1.172, allocations: 430.2 kB / 0.9478 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.173, allocations: 148.8 kB / 0.9479 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.174, allocations: 1.093 MB / 0.949 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.174, allocations: 8.656 kB / 0.949 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.174, allocations: 3 kB / 0.949 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/1.175, allocations: 1.052 MB / 0.95 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/1.18, allocations: 3.089 MB / 0.953 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.18, allocations: 10.41 kB / 0.953 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/1.181, allocations: 159 kB / 0.9532 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/1.181, allocations: 133 kB / 0.9533 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.181, allocations: 29 kB / 0.9534 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/1.185, allocations: 5.363 MB / 0.9586 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.185, allocations: 15.92 kB / 0.9586 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/1.187, allocations: 1.775 MB / 0.9603 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/1.188, allocations: 320.8 kB / 0.9606 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/1.188, allocations: 22.52 kB / 0.9607 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/1.189, allocations: 24.72 kB / 0.9607 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.189, allocations: 84.59 kB / 0.9608 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/1.189, allocations: 35.48 kB / 0.9608 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001055/1.19, allocations: 0.8438 MB / 0.9616 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.19, allocations: 0 / 0.9616 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001412/1.191, allocations: 414.9 kB / 0.962 GB, free: 11.25 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.002735/1.194, allocations: 2.458 MB / 0.9644 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001736/1.196, allocations: 1.296 MB / 0.9657 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.196, allocations: 0 / 0.9657 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/1.197, allocations: 0.7932 MB / 0.9665 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.2, allocations: 0.8935 MB / 0.9673 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.214, allocations: 11.28 MB / 0.9784 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/1.215, allocations: 1.355 MB / 0.9797 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001175/1.216, allocations: 352.6 kB / 0.98 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/1.217, allocations: 0.5501 MB / 0.9806 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.217, allocations: 0 / 0.9806 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/1.299, allocations: 43.7 MB / 1.023 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/15.07, allocations: 6.016 kB / 1.023 GB, free: 14.08 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)