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: translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001531/0.001531, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9289/0.9289, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 72.16 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1656, allocations: 81.02 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5055/0.6712, allocations: 211.9 MB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02928/0.7005, allocations: 21.18 MB / 0.8121 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.7028, allocations: 47.69 kB / 0.8122 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.7055, allocations: 0.6412 MB / 0.8128 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.7169, allocations: 3.981 MB / 0.8167 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.72, allocations: 0.978 MB / 0.8176 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005959/0.7259, allocations: 3.91 MB / 0.8214 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.7289, allocations: 1.524 MB / 0.8229 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.7331, allocations: 1.642 MB / 0.8245 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0044/0.7375, allocations: 1.644 MB / 0.8261 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006208/0.7382, allocations: 160 kB / 0.8263 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004981/0.7431, allocations: 1.925 MB / 0.8282 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.7445, allocations: 0.7443 MB / 0.8289 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.7472, allocations: 0.9488 MB / 0.8298 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006201/0.7534, allocations: 3.034 MB / 0.8328 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7534, allocations: 0 / 0.8328 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7534, allocations: 0 / 0.8328 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001043/0.7535, allocations: 0 / 0.8328 GB, free: 13.98 MB / 0.6544 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.004216/0.7577, allocations: 2.045 MB / 0.8348 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.7578, allocations: 12.03 kB / 0.8348 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.7599, allocations: 405.5 kB / 0.8352 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.7618, allocations: 1.097 MB / 0.8363 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.7619, allocations: 98.56 kB / 0.8364 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.7621, allocations: 136.8 kB / 0.8365 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.7646, allocations: 1.586 MB / 0.838 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.7647, allocations: 3.984 kB / 0.838 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.7648, allocations: 60 kB / 0.8381 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/0.7649, allocations: 46.45 kB / 0.8381 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.7669, allocations: 1.29 MB / 0.8394 GB, free: 7.016 MB / 0.6544 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.007718/0.7746, allocations: 6.477 MB / 0.8457 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.7761, allocations: 0.9424 MB / 0.8466 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.7767, allocations: 478.5 kB / 0.8471 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.7775, allocations: 417 kB / 0.8475 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.7775, allocations: 51.16 kB / 0.8475 GB, free: 14.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.7775, allocations: 4 kB / 0.8476 GB, free: 14.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005746/0.7833, allocations: 2.929 MB / 0.8504 GB, free: 11.12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.7834, allocations: 64.41 kB / 0.8505 GB, free: 11.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.785, allocations: 1.193 MB / 0.8516 GB, free: 9.832 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.7851, allocations: 45.7 kB / 0.8517 GB, free: 9.781 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.7857, allocations: 0.6839 MB / 0.8523 GB, free: 9.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.786, allocations: 299.6 kB / 0.8526 GB, free: 8.793 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.7863, allocations: 198.5 kB / 0.8528 GB, free: 8.594 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7865, allocations: 349.9 kB / 0.8532 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.7871, allocations: 369.8 kB / 0.8535 GB, free: 7.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009224/0.788, allocations: 0.7363 MB / 0.8542 GB, free: 6.996 MB / 0.67 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.01186/0.7999, allocations: 2.911 MB / 0.8571 GB, free: 3.965 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7999, allocations: 4 kB / 0.8571 GB, free: 3.961 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002519/0.8024, allocations: 1.302 MB / 0.8583 GB, free: 2.641 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.8025, allocations: 8 kB / 0.8584 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.8025, allocations: 8 kB / 0.8584 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.8028, allocations: 134.5 kB / 0.8585 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.8036, allocations: 207.8 kB / 0.8587 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3106/1.114, allocations: 5.365 MB / 0.8639 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.116, allocations: 101.5 kB / 0.864 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/1.116, allocations: 53.23 kB / 0.8641 GB, free: 218.3 MB / 0.67 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.000755/1.117, allocations: 428.1 kB / 0.8645 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.117, allocations: 141.5 kB / 0.8646 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.119, allocations: 1.089 MB / 0.8657 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.119, allocations: 9.281 kB / 0.8657 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.119, allocations: 10.34 kB / 0.8657 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/1.12, allocations: 1.052 MB / 0.8667 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/1.124, allocations: 3.087 MB / 0.8697 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.124, allocations: 5.844 kB / 0.8697 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/1.125, allocations: 164.1 kB / 0.8699 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/1.125, allocations: 124.6 kB / 0.87 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/1.125, allocations: 29.44 kB / 0.8701 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/1.128, allocations: 5.364 MB / 0.8753 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.128, allocations: 9 kB / 0.8753 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/1.13, allocations: 1.766 MB / 0.877 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/1.131, allocations: 319.5 kB / 0.8773 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.131, allocations: 25.45 kB / 0.8774 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/1.132, allocations: 76.33 kB / 0.8774 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.132, allocations: 75.73 kB / 0.8775 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/1.132, allocations: 33.69 kB / 0.8775 GB, free: 210.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009941/1.133, allocations: 0.8539 MB / 0.8784 GB, free: 209.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/1.133, allocations: 0 / 0.8784 GB, free: 209.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001524/1.135, allocations: 404.2 kB / 0.8787 GB, free: 209.8 MB / 0.67 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.0006211/1.136, allocations: 253.3 kB / 0.879 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001938/1.137, allocations: 1.448 MB / 0.8804 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.137, allocations: 3.125 kB / 0.8804 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/1.138, allocations: 0.7954 MB / 0.8812 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.142, allocations: 0.8983 MB / 0.8821 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/1.145, allocations: 3.366 MB / 0.8853 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/1.146, allocations: 1.355 MB / 0.8867 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001227/1.147, allocations: 344.8 kB / 0.887 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.147, allocations: 115.9 kB / 0.8871 GB, free: 205.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.363e-06/1.147, allocations: 4 kB / 0.8871 GB, free: 205.7 MB / 0.67 GB Notification: Performance of Templates: time 0.06334/1.211, allocations: 31.74 MB / 0.9181 GB, free: 199.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)