Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",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.006096/0.006096, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001356/0.001356, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.25 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1603, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5417/0.7021, allocations: 169.4 MB / 0.8247 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008321/0.7104, allocations: 7.33 MB / 0.8318 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.7111, allocations: 11.5 kB / 0.8318 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.7118, allocations: 217.8 kB / 0.832 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.7133, allocations: 0.5981 MB / 0.8326 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.7145, allocations: 434.8 kB / 0.833 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.7153, allocations: 0.7056 MB / 0.8337 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.7157, allocations: 271.5 kB / 0.834 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.7164, allocations: 387.6 kB / 0.8344 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.7166, allocations: 213.4 kB / 0.8346 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.7167, allocations: 18.34 kB / 0.8346 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.7177, allocations: 0.7075 MB / 0.8353 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.7179, allocations: 107 kB / 0.8354 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.718, allocations: 163.7 kB / 0.8355 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.7188, allocations: 0.5778 MB / 0.8361 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7188, allocations: 0 / 0.8361 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7188, allocations: 0 / 0.8361 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.7188, allocations: 0 / 0.8361 GB, free: 11.61 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000876/0.7197, allocations: 0.6343 MB / 0.8367 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7198, allocations: 10.12 kB / 0.8367 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.7198, allocations: 66 kB / 0.8368 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.7202, allocations: 60.12 kB / 0.8368 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.7207, allocations: 325.4 kB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7207, allocations: 18.38 kB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.7208, allocations: 27.25 kB / 0.8372 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.7212, allocations: 304.7 kB / 0.8375 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.7212, allocations: 6.812 kB / 0.8375 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.7213, allocations: 10.62 kB / 0.8375 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.7213, allocations: 8.297 kB / 0.8375 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.7216, allocations: 172.6 kB / 0.8377 GB, free: 10.29 MB / 0.6075 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.001587/0.7232, allocations: 1.689 MB / 0.8393 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.7235, allocations: 97.56 kB / 0.8394 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.7236, allocations: 79.8 kB / 0.8395 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.7239, allocations: 185.8 kB / 0.8397 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7239, allocations: 33.12 kB / 0.8397 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.7239, allocations: 0 / 0.8397 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006239/0.7246, allocations: 224.2 kB / 0.8399 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7246, allocations: 53.5 kB / 0.84 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.7249, allocations: 322.5 kB / 0.8403 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.725, allocations: 33.64 kB / 0.8403 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.7251, allocations: 196 kB / 0.8405 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.7251, allocations: 48.41 kB / 0.8405 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.7252, allocations: 49.77 kB / 0.8406 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7254, allocations: 339.2 kB / 0.8409 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.7255, allocations: 63.62 kB / 0.841 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.7258, allocations: 191.2 kB / 0.8412 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.7261, allocations: 233.7 kB / 0.8414 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7261, allocations: 7.125 kB / 0.8414 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000416/0.7265, allocations: 255.8 kB / 0.8416 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7266, allocations: 4.812 kB / 0.8416 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7266, allocations: 2.781 kB / 0.8416 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7266, allocations: 7.406 kB / 0.8416 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.7268, allocations: 51.06 kB / 0.8417 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.7268, allocations: 9.156 kB / 0.8417 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.727, allocations: 43.14 kB / 0.8417 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.7271, allocations: 7.531 kB / 0.8418 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002086/0.7273, allocations: 170.3 kB / 0.8419 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002233/0.7275, allocations: 194.8 kB / 0.8421 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003115/0.7278, allocations: 235.5 kB / 0.8423 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.7278, allocations: 3.281 kB / 0.8423 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004117/0.7282, allocations: 250.7 kB / 0.8426 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.7283, allocations: 11.86 kB / 0.8426 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7283, allocations: 4.344 kB / 0.8426 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.7283, allocations: 5.75 kB / 0.8426 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.7284, allocations: 40.61 kB / 0.8426 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.7285, allocations: 11.86 kB / 0.8426 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.7287, allocations: 28.58 kB / 0.8427 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.7287, allocations: 18.03 kB / 0.8427 GB, free: 5.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7288, allocations: 189.1 kB / 0.8429 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.7289, allocations: 30.25 kB / 0.8429 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.7292, allocations: 167.9 kB / 0.8431 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7292, allocations: 2.438 kB / 0.8431 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7292, allocations: 4.281 kB / 0.8431 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7293, allocations: 0 / 0.8431 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.7301, allocations: 0.6158 MB / 0.8437 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7301, allocations: 2.469 kB / 0.8437 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.7302, allocations: 28.08 kB / 0.8437 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.7302, allocations: 2.156 kB / 0.8437 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7303, allocations: 3.688 kB / 0.8437 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7303, allocations: 8.469 kB / 0.8437 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7303, allocations: 2.688 kB / 0.8437 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.7306, allocations: 302 kB / 0.844 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.7307, allocations: 113.4 kB / 0.8441 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.7308, allocations: 6.406 kB / 0.8441 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.731, allocations: 19.8 kB / 0.8441 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.731, allocations: 12.27 kB / 0.8441 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.731, allocations: 9.75 kB / 0.8441 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002007/0.7312, allocations: 226.3 kB / 0.8444 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7312, allocations: 4 kB / 0.8444 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005343/0.7318, allocations: 130.4 kB / 0.8445 GB, free: 4.527 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008848/0.7327, allocations: 0.9001 MB / 0.8454 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.7332, allocations: 245.7 kB / 0.8456 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7332, allocations: 0 / 0.8456 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.7334, allocations: 64.77 kB / 0.8457 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.734, allocations: 127 kB / 0.8458 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.7372, allocations: 2.795 MB / 0.8485 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7375, allocations: 0.7758 MB / 0.8493 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000224/0.7377, allocations: 84.39 kB / 0.8494 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.7379, allocations: 86.34 kB / 0.8494 GB, free: 420 kB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.7379, allocations: 0 / 0.8494 GB, free: 420 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.7619, allocations: 7.912 MB / 0.8572 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.52, allocations: 4.062 kB / 0.8572 GB, free: 10.68 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)