Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_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.005091/0.005091, allocations: 105.3 kB / 15.74 MB, free: 6.488 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.001194/0.001194, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7069/0.7069, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.89 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4211, allocations: 80.21 MB / 0.6592 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6666/1.088, allocations: 214.6 MB / 0.8688 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02814/1.116, allocations: 21.33 MB / 0.8896 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/1.118, allocations: 53.75 kB / 0.8897 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/1.12, allocations: 0.7547 MB / 0.8904 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.13, allocations: 4.403 MB / 0.8947 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/1.133, allocations: 1.063 MB / 0.8957 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005466/1.139, allocations: 3.923 MB / 0.8996 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/1.141, allocations: 1.576 MB / 0.9011 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/1.145, allocations: 1.679 MB / 0.9027 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/1.149, allocations: 1.566 MB / 0.9043 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/1.15, allocations: 161.2 kB / 0.9044 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005245/1.155, allocations: 1.842 MB / 0.9062 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.156, allocations: 0.7461 MB / 0.9069 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002113/1.158, allocations: 0.958 MB / 0.9079 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005709/1.164, allocations: 2.942 MB / 0.9108 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.164, allocations: 0 / 0.9108 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.873e-06/1.164, allocations: 1.156 kB / 0.9108 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.26e-05/1.164, allocations: 0 / 0.9108 GB, free: 1.141 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.003113/1.167, allocations: 2.037 MB / 0.9127 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.167, allocations: 10.78 kB / 0.9128 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/1.168, allocations: 199 kB / 0.9129 GB, free: 16.1 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/1.17, allocations: 398.6 kB / 0.9133 GB, free: 16.01 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.171, allocations: 1.158 MB / 0.9145 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/1.171, allocations: 101.8 kB / 0.9146 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/1.172, allocations: 135.3 kB / 0.9147 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/1.174, allocations: 1.585 MB / 0.9162 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/1.174, allocations: 3.906 kB / 0.9162 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.174, allocations: 57.33 kB / 0.9163 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/1.174, allocations: 53.34 kB / 0.9163 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.176, allocations: 1.295 MB / 0.9176 GB, free: 15.38 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.007197/1.183, allocations: 6.469 MB / 0.9239 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.184, allocations: 0.9449 MB / 0.9248 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/1.185, allocations: 481.7 kB / 0.9253 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/1.186, allocations: 413.7 kB / 0.9257 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/1.186, allocations: 45.84 kB / 0.9257 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/1.186, allocations: 0 / 0.9257 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005059/1.191, allocations: 2.941 MB / 0.9286 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.191, allocations: 59.72 kB / 0.9287 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.192, allocations: 1.201 MB / 0.9298 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/1.192, allocations: 47.92 kB / 0.9299 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/1.193, allocations: 0.6777 MB / 0.9306 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.193, allocations: 303.8 kB / 0.9308 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/1.193, allocations: 197.4 kB / 0.931 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.193, allocations: 347.7 kB / 0.9314 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/1.194, allocations: 370.3 kB / 0.9317 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/1.195, allocations: 0.7366 MB / 0.9324 GB, free: 9.34 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.01084/1.206, allocations: 2.909 MB / 0.9353 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.206, allocations: 3.219 kB / 0.9353 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002188/1.208, allocations: 1.302 MB / 0.9365 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.208, allocations: 12.94 kB / 0.9366 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.208, allocations: 9.062 kB / 0.9366 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/1.208, allocations: 137.3 kB / 0.9367 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/1.209, allocations: 201.9 kB / 0.9369 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/1.214, allocations: 5.374 MB / 0.9421 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.215, allocations: 48.44 kB / 0.9422 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/1.215, allocations: 48.91 kB / 0.9422 GB, free: 4.242 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.0008332/1.216, allocations: 431.1 kB / 0.9426 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.216, allocations: 139.1 kB / 0.9428 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.218, allocations: 1.09 MB / 0.9438 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.218, allocations: 12.47 kB / 0.9439 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.218, allocations: 4 kB / 0.9439 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/1.219, allocations: 1.056 MB / 0.9449 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/1.224, allocations: 3.079 MB / 0.9479 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.224, allocations: 5.969 kB / 0.9479 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/1.224, allocations: 168.1 kB / 0.9481 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/1.224, allocations: 122.1 kB / 0.9482 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/1.225, allocations: 30.34 kB / 0.9482 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/1.229, allocations: 5.356 MB / 0.9534 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.229, allocations: 8.562 kB / 0.9534 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.231, allocations: 1.776 MB / 0.9552 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/1.231, allocations: 312.6 kB / 0.9555 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/1.232, allocations: 29.52 kB / 0.9555 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/1.232, allocations: 22.8 kB / 0.9555 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.232, allocations: 82.81 kB / 0.9556 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/1.232, allocations: 35.77 kB / 0.9556 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001061/1.234, allocations: 0.8423 MB / 0.9565 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.443e-06/1.234, allocations: 0 / 0.9565 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00142/1.235, allocations: 421.2 kB / 0.9569 GB, free: 12.94 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.0028/1.238, allocations: 2.454 MB / 0.9593 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.24, allocations: 1.293 MB / 0.9605 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.24, allocations: 0 / 0.9605 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009557/1.241, allocations: 0.7878 MB / 0.9613 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.244, allocations: 0.9009 MB / 0.9622 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.258, allocations: 11.22 MB / 0.9731 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/1.259, allocations: 1.355 MB / 0.9745 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001207/1.26, allocations: 352.6 kB / 0.9748 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/1.261, allocations: 0.5462 MB / 0.9753 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/1.261, allocations: 0 / 0.9753 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/1.345, allocations: 43.68 MB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.03, allocations: 3.984 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)