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.005439/0.005439, allocations: 97.23 kB / 15.73 MB, free: 6.051 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.001236/0.001236, allocations: 194.8 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9923/0.9923, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 0.5852 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4237, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1856/0.6093, allocations: 169.5 MB / 0.8296 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008872/0.6183, allocations: 7.327 MB / 0.8368 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.6189, allocations: 15.88 kB / 0.8368 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.6196, allocations: 206.6 kB / 0.837 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.6212, allocations: 0.5749 MB / 0.8376 GB, free: 15.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.6225, allocations: 432.7 kB / 0.838 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.6236, allocations: 0.7051 MB / 0.8387 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.6241, allocations: 267.1 kB / 0.8389 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008351/0.625, allocations: 394.5 kB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.6253, allocations: 207.1 kB / 0.8395 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.6253, allocations: 20 kB / 0.8395 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.6266, allocations: 0.7015 MB / 0.8402 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.6267, allocations: 107.7 kB / 0.8403 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.6269, allocations: 159.2 kB / 0.8405 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009105/0.6278, allocations: 0.5842 MB / 0.841 GB, free: 11.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6279, allocations: 0 / 0.841 GB, free: 11.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6279, allocations: 0 / 0.841 GB, free: 11.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6279, allocations: 0 / 0.841 GB, free: 11.81 MB / 0.67 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.0009903/0.6289, allocations: 0.631 MB / 0.8417 GB, free: 11.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6289, allocations: 16.02 kB / 0.8417 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.629, allocations: 58.48 kB / 0.8417 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.6294, allocations: 63.59 kB / 0.8418 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.6299, allocations: 326 kB / 0.8421 GB, free: 10.63 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6299, allocations: 20.44 kB / 0.8421 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.63, allocations: 27.94 kB / 0.8421 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.6305, allocations: 300.6 kB / 0.8424 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6305, allocations: 0 / 0.8424 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6305, allocations: 8 kB / 0.8424 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.6305, allocations: 11.92 kB / 0.8424 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.6309, allocations: 175.8 kB / 0.8426 GB, free: 10.05 MB / 0.67 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.001598/0.6325, allocations: 1.694 MB / 0.8443 GB, free: 8.238 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6328, allocations: 90.56 kB / 0.8444 GB, free: 8.141 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.633, allocations: 84.78 kB / 0.8444 GB, free: 8.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.6333, allocations: 182.2 kB / 0.8446 GB, free: 7.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6333, allocations: 38.56 kB / 0.8446 GB, free: 7.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.6333, allocations: 0 / 0.8446 GB, free: 7.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.000667/0.634, allocations: 217.6 kB / 0.8449 GB, free: 7.574 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.634, allocations: 55.39 kB / 0.8449 GB, free: 7.508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6343, allocations: 320.5 kB / 0.8452 GB, free: 7.191 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.6344, allocations: 37.7 kB / 0.8452 GB, free: 7.148 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6345, allocations: 191.8 kB / 0.8454 GB, free: 6.953 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.6345, allocations: 39.45 kB / 0.8455 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.6346, allocations: 45.7 kB / 0.8455 GB, free: 6.863 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6348, allocations: 346.8 kB / 0.8458 GB, free: 6.516 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.6349, allocations: 68.73 kB / 0.8459 GB, free: 6.445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.6352, allocations: 194.3 kB / 0.8461 GB, free: 6.195 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.6355, allocations: 237.4 kB / 0.8463 GB, free: 5.914 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6355, allocations: 8 kB / 0.8463 GB, free: 5.906 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004422/0.636, allocations: 244.9 kB / 0.8466 GB, free: 5.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.636, allocations: 8.406 kB / 0.8466 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.636, allocations: 8 kB / 0.8466 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.636, allocations: 4 kB / 0.8466 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.6362, allocations: 51.91 kB / 0.8466 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.6363, allocations: 4 kB / 0.8466 GB, free: 5.586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.6365, allocations: 35.67 kB / 0.8467 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.6365, allocations: 23.92 kB / 0.8467 GB, free: 5.527 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/0.6368, allocations: 172 kB / 0.8469 GB, free: 5.355 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002518/0.637, allocations: 192.2 kB / 0.847 GB, free: 5.109 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003272/0.6374, allocations: 233.4 kB / 0.8473 GB, free: 4.832 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.6374, allocations: 7.938 kB / 0.8473 GB, free: 4.824 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004336/0.6378, allocations: 245 kB / 0.8475 GB, free: 4.578 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.6378, allocations: 8.406 kB / 0.8475 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6378, allocations: 8 kB / 0.8475 GB, free: 4.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.6378, allocations: 4 kB / 0.8475 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.638, allocations: 51.84 kB / 0.8476 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.638, allocations: 4 kB / 0.8476 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.6382, allocations: 27.83 kB / 0.8476 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.6383, allocations: 16 kB / 0.8476 GB, free: 4.461 MB / 0.67 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.0001054/0.6384, allocations: 192.1 kB / 0.8478 GB, free: 4.266 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.6384, allocations: 35.62 kB / 0.8478 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.6388, allocations: 168.4 kB / 0.848 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.6388, allocations: 0 / 0.848 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.6388, allocations: 8.203 kB / 0.848 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6389, allocations: 0 / 0.848 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.6397, allocations: 0.6132 MB / 0.8486 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6398, allocations: 4 kB / 0.8486 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6399, allocations: 23.92 kB / 0.8486 GB, free: 3.336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6399, allocations: 4.219 kB / 0.8486 GB, free: 3.332 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6399, allocations: 11.94 kB / 0.8486 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6399, allocations: 3.984 kB / 0.8486 GB, free: 3.316 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6399, allocations: 4 kB / 0.8486 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.6403, allocations: 297.1 kB / 0.8489 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6404, allocations: 116.7 kB / 0.849 GB, free: 2.852 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.6405, allocations: 3.938 kB / 0.849 GB, free: 2.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.6406, allocations: 15.98 kB / 0.8491 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.6407, allocations: 11.98 kB / 0.8491 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6407, allocations: 7.938 kB / 0.8491 GB, free: 2.812 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002397/0.641, allocations: 227 kB / 0.8493 GB, free: 2.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.641, allocations: 3.938 kB / 0.8493 GB, free: 2.586 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005669/0.6416, allocations: 135.8 kB / 0.8494 GB, free: 2.453 MB / 0.67 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.00102/0.6426, allocations: 0.899 MB / 0.8503 GB, free: 1.516 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.6432, allocations: 245 kB / 0.8505 GB, free: 1.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6432, allocations: 4.062 kB / 0.8505 GB, free: 1.273 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.6434, allocations: 59.89 kB / 0.8506 GB, free: 1.215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.6441, allocations: 128.3 kB / 0.8507 GB, free: 1.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.6474, allocations: 2.803 MB / 0.8535 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.6478, allocations: 0.7756 MB / 0.8542 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.6481, allocations: 86.89 kB / 0.8543 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6482, allocations: 91.41 kB / 0.8544 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.6482, allocations: 0 / 0.8544 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.676, allocations: 8.012 MB / 0.8622 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.722, allocations: 17.97 kB / 0.8622 GB, free: 5.234 MB / 0.6856 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)