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.007216/0.007216, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001848/0.001849, allocations: 205.2 kB / 16.68 MB, free: 5.969 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.418/1.418, 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.9537/0.9537, allocations: 135.6 MB / 426.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 0.5858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.463, allocations: 81.02 MB / 0.6649 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6367/1.1, allocations: 214.6 MB / 0.8744 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0213/1.121, allocations: 21.34 MB / 0.8953 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/1.123, allocations: 51.62 kB / 0.8953 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/1.125, allocations: 0.7358 MB / 0.8961 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/1.136, allocations: 4.24 MB / 0.9002 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/1.139, allocations: 1.069 MB / 0.9012 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00537/1.144, allocations: 3.91 MB / 0.9051 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/1.147, allocations: 1.574 MB / 0.9066 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/1.15, allocations: 1.627 MB / 0.9082 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/1.153, allocations: 1.556 MB / 0.9097 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003815/1.154, allocations: 162.6 kB / 0.9099 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/1.157, allocations: 1.824 MB / 0.9116 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007388/1.158, allocations: 0.7419 MB / 0.9124 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.16, allocations: 0.9651 MB / 0.9133 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/1.163, allocations: 2.939 MB / 0.9162 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.163, allocations: 1 kB / 0.9162 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.514e-06/1.163, allocations: 0 / 0.9162 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.147e-05/1.163, allocations: 0 / 0.9162 GB, free: 0.9492 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.003195/1.167, allocations: 2.1 MB / 0.9182 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.167, allocations: 11.47 kB / 0.9182 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/1.167, allocations: 198.1 kB / 0.9184 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/1.169, allocations: 406.8 kB / 0.9188 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/1.171, allocations: 1.166 MB / 0.92 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/1.171, allocations: 99.78 kB / 0.9201 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.171, allocations: 135 kB / 0.9202 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/1.173, allocations: 1.589 MB / 0.9217 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/1.173, allocations: 3.094 kB / 0.9217 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.173, allocations: 52.88 kB / 0.9218 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.173, allocations: 52.27 kB / 0.9218 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.175, allocations: 1.291 MB / 0.9231 GB, free: 15.12 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.007415/1.183, allocations: 6.495 MB / 0.9294 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/1.184, allocations: 0.9455 MB / 0.9304 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/1.184, allocations: 481.3 kB / 0.9308 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/1.185, allocations: 415.1 kB / 0.9312 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.185, allocations: 41.59 kB / 0.9313 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/1.185, allocations: 0 / 0.9313 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004795/1.19, allocations: 2.957 MB / 0.9341 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.19, allocations: 65.38 kB / 0.9342 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.191, allocations: 1.204 MB / 0.9354 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/1.192, allocations: 50.2 kB / 0.9354 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/1.192, allocations: 0.6919 MB / 0.9361 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.192, allocations: 307.3 kB / 0.9364 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/1.193, allocations: 200.7 kB / 0.9366 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.193, allocations: 343.8 kB / 0.9369 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/1.193, allocations: 375.7 kB / 0.9373 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/1.194, allocations: 0.7317 MB / 0.938 GB, free: 9.008 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.01131/1.205, allocations: 2.908 MB / 0.9408 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/1.205, allocations: 2.469 kB / 0.9408 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001962/1.207, allocations: 1.305 MB / 0.9421 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.207, allocations: 17.56 kB / 0.9421 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.207, allocations: 7.406 kB / 0.9421 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/1.208, allocations: 136.2 kB / 0.9423 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/1.208, allocations: 209.3 kB / 0.9425 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/1.213, allocations: 5.37 MB / 0.9477 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.214, allocations: 52.89 kB / 0.9478 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.215, allocations: 49.67 kB / 0.9478 GB, free: 3.887 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.000734/1.215, allocations: 435.4 kB / 0.9482 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.216, allocations: 149.2 kB / 0.9484 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.217, allocations: 1.094 MB / 0.9494 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.217, allocations: 7.812 kB / 0.9494 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.217, allocations: 2.938 kB / 0.9494 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.218, allocations: 1.046 MB / 0.9505 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/1.223, allocations: 3.094 MB / 0.9535 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.223, allocations: 5.5 kB / 0.9535 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/1.224, allocations: 156.6 kB / 0.9536 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/1.224, allocations: 127.7 kB / 0.9538 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/1.224, allocations: 29.14 kB / 0.9538 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/1.229, allocations: 5.365 MB / 0.959 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.229, allocations: 8.031 kB / 0.959 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.231, allocations: 1.777 MB / 0.9608 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/1.232, allocations: 323.9 kB / 0.9611 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.232, allocations: 28.47 kB / 0.9611 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/1.233, allocations: 29.22 kB / 0.9611 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.233, allocations: 71.48 kB / 0.9612 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/1.233, allocations: 39.77 kB / 0.9612 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001106/1.234, allocations: 0.845 MB / 0.9621 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.234, allocations: 3.188 kB / 0.9621 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001409/1.235, allocations: 408 kB / 0.9625 GB, free: 11.09 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.003054/1.238, allocations: 2.462 MB / 0.9649 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001923/1.24, allocations: 1.299 MB / 0.9661 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.24, allocations: 4.062 kB / 0.9661 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/1.241, allocations: 0.7908 MB / 0.9669 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.245, allocations: 0.9002 MB / 0.9678 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.261, allocations: 11.27 MB / 0.9788 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.263, allocations: 1.355 MB / 0.9801 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001278/1.264, allocations: 352.6 kB / 0.9805 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.265, allocations: 0.5532 MB / 0.981 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/1.265, allocations: 0 / 0.981 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/1.359, allocations: 43.7 MB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.58, allocations: 10.09 kB / 1.024 GB, free: 13.79 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)