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.007555/0.007555, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001339/0.001339, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9516/0.9516, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.89 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4327, allocations: 80.9 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6477/1.08, allocations: 214.6 MB / 0.8737 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02194/1.102, allocations: 21.33 MB / 0.8946 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/1.104, allocations: 53.12 kB / 0.8946 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/1.106, allocations: 0.7352 MB / 0.8953 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/1.116, allocations: 4.237 MB / 0.8995 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/1.119, allocations: 1.069 MB / 0.9005 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005752/1.125, allocations: 3.912 MB / 0.9043 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/1.127, allocations: 1.587 MB / 0.9059 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/1.132, allocations: 1.645 MB / 0.9075 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004665/1.136, allocations: 1.543 MB / 0.909 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007904/1.137, allocations: 162.5 kB / 0.9092 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/1.142, allocations: 1.831 MB / 0.911 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009643/1.143, allocations: 0.7419 MB / 0.9117 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/1.144, allocations: 0.9532 MB / 0.9126 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/1.148, allocations: 2.934 MB / 0.9155 GB, free: 1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.148, allocations: 0 / 0.9155 GB, free: 1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.587e-06/1.148, allocations: 0 / 0.9155 GB, free: 1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.601e-05/1.148, allocations: 4.844 kB / 0.9155 GB, free: 0.9961 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.002941/1.151, allocations: 2.045 MB / 0.9175 GB, free: 16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.151, allocations: 9.438 kB / 0.9175 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/1.152, allocations: 197.9 kB / 0.9177 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.154, allocations: 392.5 kB / 0.918 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/1.156, allocations: 1.164 MB / 0.9192 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/1.156, allocations: 103.7 kB / 0.9193 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/1.156, allocations: 136.6 kB / 0.9194 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.158, allocations: 1.588 MB / 0.921 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/1.158, allocations: 3.406 kB / 0.921 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.158, allocations: 52.27 kB / 0.921 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.158, allocations: 55.34 kB / 0.9211 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.16, allocations: 1.292 MB / 0.9223 GB, free: 15.23 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.007538/1.167, allocations: 6.471 MB / 0.9287 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.169, allocations: 0.9349 MB / 0.9296 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/1.169, allocations: 488.2 kB / 0.93 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/1.17, allocations: 416.7 kB / 0.9304 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.17, allocations: 39.91 kB / 0.9305 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/1.17, allocations: 4.188 kB / 0.9305 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004676/1.175, allocations: 2.939 MB / 0.9333 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.175, allocations: 65.47 kB / 0.9334 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.176, allocations: 1.207 MB / 0.9346 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/1.176, allocations: 42.61 kB / 0.9346 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/1.176, allocations: 0.6769 MB / 0.9353 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.177, allocations: 304 kB / 0.9356 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/1.177, allocations: 189.4 kB / 0.9358 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.177, allocations: 344.7 kB / 0.9361 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/1.178, allocations: 375 kB / 0.9364 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/1.178, allocations: 0.7323 MB / 0.9372 GB, free: 9.188 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.01147/1.19, allocations: 2.916 MB / 0.94 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.19, allocations: 2.656 kB / 0.94 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002104/1.192, allocations: 1.3 MB / 0.9413 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.192, allocations: 12.34 kB / 0.9413 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.192, allocations: 10.53 kB / 0.9413 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/1.192, allocations: 128.6 kB / 0.9414 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/1.193, allocations: 207.8 kB / 0.9416 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/1.197, allocations: 5.368 MB / 0.9469 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.199, allocations: 51.73 kB / 0.9469 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.199, allocations: 48.69 kB / 0.947 GB, free: 4.078 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.0008051/1.2, allocations: 429.5 kB / 0.9474 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.2, allocations: 140.4 kB / 0.9475 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/1.201, allocations: 1.099 MB / 0.9486 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.201, allocations: 6.219 kB / 0.9486 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.201, allocations: 2.156 kB / 0.9486 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/1.203, allocations: 1.056 MB / 0.9496 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/1.208, allocations: 3.073 MB / 0.9526 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.208, allocations: 15.66 kB / 0.9526 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/1.208, allocations: 164.5 kB / 0.9528 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/1.209, allocations: 130.6 kB / 0.9529 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/1.209, allocations: 31.8 kB / 0.9529 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/1.213, allocations: 5.36 MB / 0.9582 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.213, allocations: 7.219 kB / 0.9582 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/1.215, allocations: 1.772 MB / 0.9599 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/1.216, allocations: 319.2 kB / 0.9602 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/1.216, allocations: 27.05 kB / 0.9602 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/1.217, allocations: 29.83 kB / 0.9603 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.217, allocations: 80.12 kB / 0.9603 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/1.217, allocations: 30.44 kB / 0.9604 GB, free: 12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001074/1.218, allocations: 0.8475 MB / 0.9612 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/1.218, allocations: 0 / 0.9612 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001434/1.219, allocations: 419 kB / 0.9616 GB, free: 11.49 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.00275/1.222, allocations: 2.446 MB / 0.964 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.224, allocations: 1.285 MB / 0.9652 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.224, allocations: 3.844 kB / 0.9652 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/1.225, allocations: 0.791 MB / 0.966 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.229, allocations: 0.8874 MB / 0.9669 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.244, allocations: 11.23 MB / 0.9779 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/1.245, allocations: 1.363 MB / 0.9792 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001203/1.247, allocations: 348.6 kB / 0.9795 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/1.247, allocations: 0.5423 MB / 0.9801 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.974e-06/1.247, allocations: 0 / 0.9801 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08247/1.33, allocations: 44.48 MB / 1.023 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.51, allocations: 3.875 kB / 1.023 GB, free: 13.64 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)