Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Pressure,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_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.008362/0.008362, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001957/0.001958, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.333/1.333, 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-master/package.mo): time 0.7733/0.7733, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.81 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 80.94 MB / 0.6642 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5554/0.7125, allocations: 169.4 MB / 0.8296 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008688/0.7212, allocations: 7.328 MB / 0.8368 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.7219, allocations: 11.94 kB / 0.8368 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007073/0.7226, allocations: 215 kB / 0.837 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.7241, allocations: 0.6016 MB / 0.8376 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.7253, allocations: 426.8 kB / 0.838 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.7262, allocations: 0.7136 MB / 0.8387 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.7266, allocations: 267.2 kB / 0.839 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.7273, allocations: 384.3 kB / 0.8393 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.7275, allocations: 213.1 kB / 0.8395 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.7276, allocations: 18.09 kB / 0.8396 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.7286, allocations: 0.7035 MB / 0.8402 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.7288, allocations: 115 kB / 0.8404 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.7289, allocations: 159.6 kB / 0.8405 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.7298, allocations: 0.5769 MB / 0.8411 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7298, allocations: 0 / 0.8411 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7298, allocations: 0 / 0.8411 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.7298, allocations: 0 / 0.8411 GB, free: 5.93 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.0009429/0.7307, allocations: 0.6369 MB / 0.8417 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7308, allocations: 8.984 kB / 0.8417 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.7309, allocations: 58.11 kB / 0.8418 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.7313, allocations: 70.62 kB / 0.8418 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.7318, allocations: 318.6 kB / 0.8421 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.7318, allocations: 22.53 kB / 0.8421 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.7319, allocations: 25.41 kB / 0.8422 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.7324, allocations: 307 kB / 0.8425 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7324, allocations: 2.219 kB / 0.8425 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7324, allocations: 6.5 kB / 0.8425 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.7325, allocations: 13.27 kB / 0.8425 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.7328, allocations: 176.7 kB / 0.8427 GB, free: 4.609 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.00152/0.7343, allocations: 1.694 MB / 0.8443 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.7346, allocations: 89.12 kB / 0.8444 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.7347, allocations: 82.97 kB / 0.8445 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.735, allocations: 184.8 kB / 0.8446 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.735, allocations: 37.16 kB / 0.8447 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.735, allocations: 0 / 0.8447 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006441/0.7357, allocations: 227.2 kB / 0.8449 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7357, allocations: 55.41 kB / 0.845 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.7361, allocations: 322.5 kB / 0.8453 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.7361, allocations: 29.7 kB / 0.8453 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.7362, allocations: 197.8 kB / 0.8455 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.7363, allocations: 43.11 kB / 0.8455 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.7364, allocations: 46.89 kB / 0.8456 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7365, allocations: 338.7 kB / 0.8459 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.7366, allocations: 62.66 kB / 0.8459 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.7369, allocations: 195 kB / 0.8461 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.7372, allocations: 234.6 kB / 0.8464 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7372, allocations: 3.938 kB / 0.8464 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004225/0.7376, allocations: 256.7 kB / 0.8466 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7377, allocations: 6.844 kB / 0.8466 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7377, allocations: 2.844 kB / 0.8466 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.7377, allocations: 5.281 kB / 0.8466 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.7379, allocations: 53.5 kB / 0.8467 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.7379, allocations: 5.531 kB / 0.8467 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.7381, allocations: 36.52 kB / 0.8467 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.7382, allocations: 16.28 kB / 0.8467 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002032/0.7384, allocations: 166.6 kB / 0.8469 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002108/0.7386, allocations: 202.8 kB / 0.8471 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002929/0.7389, allocations: 227.6 kB / 0.8473 GB, free: 480 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.7389, allocations: 3 kB / 0.8473 GB, free: 480 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003965/0.7393, allocations: 252.6 kB / 0.8475 GB, free: 336 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.7393, allocations: 5.031 kB / 0.8475 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7393, allocations: 12.73 kB / 0.8476 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.7393, allocations: 5.25 kB / 0.8476 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.7395, allocations: 43.52 kB / 0.8476 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7395, allocations: 5 kB / 0.8476 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7397, allocations: 36.84 kB / 0.8476 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.7398, allocations: 17.47 kB / 0.8477 GB, free: 292 kB / 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.0001072/0.7399, allocations: 193.7 kB / 0.8478 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.7399, allocations: 30.47 kB / 0.8479 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.7403, allocations: 171.9 kB / 0.848 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7403, allocations: 2.719 kB / 0.848 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7403, allocations: 4 kB / 0.848 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7403, allocations: 0 / 0.848 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.7412, allocations: 0.6144 MB / 0.8486 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7412, allocations: 0 / 0.8486 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.7413, allocations: 24.27 kB / 0.8487 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.7413, allocations: 2.75 kB / 0.8487 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7413, allocations: 6.094 kB / 0.8487 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.7413, allocations: 10.5 kB / 0.8487 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7413, allocations: 1.906 kB / 0.8487 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.7417, allocations: 306.6 kB / 0.849 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.7418, allocations: 113.6 kB / 0.8491 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.7418, allocations: 2.156 kB / 0.8491 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.742, allocations: 19.36 kB / 0.8491 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.742, allocations: 9.266 kB / 0.8491 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.742, allocations: 4.656 kB / 0.8491 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001938/0.7422, allocations: 231 kB / 0.8493 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7423, allocations: 4 kB / 0.8493 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005339/0.7428, allocations: 129.9 kB / 0.8495 GB, free: 14.83 MB / 0.6231 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.0008374/0.7436, allocations: 0.8969 MB / 0.8503 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.7442, allocations: 244.5 kB / 0.8506 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7442, allocations: 1.5 kB / 0.8506 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.7443, allocations: 67.55 kB / 0.8506 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.745, allocations: 138.5 kB / 0.8508 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.748, allocations: 2.793 MB / 0.8535 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.7483, allocations: 0.7837 MB / 0.8543 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.7486, allocations: 81.05 kB / 0.8543 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.7487, allocations: 89.53 kB / 0.8544 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.7487, allocations: 4 kB / 0.8544 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.7715, allocations: 7.898 MB / 0.8621 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.601, allocations: 6.812 kB / 0.8622 GB, free: 3.98 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)