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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001595/0.001595, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.74/0.74, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 62.94 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4581/0.6149, allocations: 167.2 MB / 0.7428 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00862/0.6235, allocations: 7.337 MB / 0.75 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.6241, allocations: 10.81 kB / 0.75 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.6248, allocations: 169.2 kB / 0.7501 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.6261, allocations: 0.5479 MB / 0.7507 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.6271, allocations: 376.8 kB / 0.751 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008915/0.6281, allocations: 1.031 MB / 0.752 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.6284, allocations: 231.1 kB / 0.7522 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.629, allocations: 339.5 kB / 0.7526 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.6292, allocations: 230.2 kB / 0.7528 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.6293, allocations: 13 kB / 0.7528 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.6304, allocations: 0.7827 MB / 0.7536 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.6305, allocations: 98.36 kB / 0.7537 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.6306, allocations: 155.3 kB / 0.7538 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.6313, allocations: 0.5831 MB / 0.7544 GB, free: 168 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6313, allocations: 3.938 kB / 0.7544 GB, free: 164 kB / 0.5606 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6313, allocations: 0 / 0.7544 GB, free: 164 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6313, allocations: 0 / 0.7544 GB, free: 164 kB / 0.5606 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.0008416/0.6322, allocations: 0.6514 MB / 0.755 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.6322, allocations: 8.031 kB / 0.755 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.6323, allocations: 54.55 kB / 0.7551 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.6326, allocations: 63.58 kB / 0.7551 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.633, allocations: 306.1 kB / 0.7554 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.633, allocations: 20.44 kB / 0.7555 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.6331, allocations: 20 kB / 0.7555 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.6335, allocations: 308.5 kB / 0.7558 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6335, allocations: 7.938 kB / 0.7558 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.6336, allocations: 12 kB / 0.7558 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6336, allocations: 4 kB / 0.7558 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.6339, allocations: 175.7 kB / 0.756 GB, free: 14.5 MB / 0.5762 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.001479/0.6354, allocations: 1.695 MB / 0.7576 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.6357, allocations: 90.5 kB / 0.7577 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.6359, allocations: 82.25 kB / 0.7578 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.6361, allocations: 182.2 kB / 0.7579 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.6362, allocations: 38.5 kB / 0.758 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.6362, allocations: 0 / 0.758 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000654/0.6368, allocations: 225.1 kB / 0.7582 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6369, allocations: 55.39 kB / 0.7583 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.6372, allocations: 316.5 kB / 0.7586 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6372, allocations: 29.7 kB / 0.7586 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.6373, allocations: 207.7 kB / 0.7588 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.6374, allocations: 35.55 kB / 0.7588 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.6374, allocations: 53.61 kB / 0.7589 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6375, allocations: 334.8 kB / 0.7592 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6377, allocations: 60.81 kB / 0.7592 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6379, allocations: 195.5 kB / 0.7594 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.6383, allocations: 233.5 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6383, allocations: 4 kB / 0.7597 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004566/0.6388, allocations: 260.8 kB / 0.7599 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6388, allocations: 4 kB / 0.7599 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6388, allocations: 4.406 kB / 0.7599 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6388, allocations: 8 kB / 0.7599 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.639, allocations: 47.91 kB / 0.76 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6391, allocations: 8 kB / 0.76 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.6393, allocations: 39.75 kB / 0.76 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.6393, allocations: 12 kB / 0.76 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002172/0.6396, allocations: 169.6 kB / 0.7602 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002256/0.6398, allocations: 198.1 kB / 0.7604 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003302/0.6401, allocations: 229.6 kB / 0.7606 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.6402, allocations: 0 / 0.7606 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004342/0.6406, allocations: 256.8 kB / 0.7608 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.6406, allocations: 6.125 kB / 0.7608 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.6406, allocations: 10.19 kB / 0.7609 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.6406, allocations: 8 kB / 0.7609 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.6408, allocations: 47.91 kB / 0.7609 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6408, allocations: 8 kB / 0.7609 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.6411, allocations: 29.2 kB / 0.7609 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.6411, allocations: 23.86 kB / 0.761 GB, free: 8.91 MB / 0.5762 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 9.98e-05/0.6412, allocations: 204.1 kB / 0.7612 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.6413, allocations: 27.62 kB / 0.7612 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.6416, allocations: 164.4 kB / 0.7613 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6416, allocations: 0 / 0.7613 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6416, allocations: 4 kB / 0.7613 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6417, allocations: 0 / 0.7613 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008637/0.6425, allocations: 0.6015 MB / 0.7619 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6425, allocations: 7.984 kB / 0.7619 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6427, allocations: 32.2 kB / 0.762 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6427, allocations: 3.938 kB / 0.762 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6427, allocations: 4.875 kB / 0.762 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6427, allocations: 7.938 kB / 0.762 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6427, allocations: 0 / 0.762 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.6431, allocations: 304.6 kB / 0.7623 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.6432, allocations: 117 kB / 0.7624 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.6432, allocations: 4 kB / 0.7624 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6434, allocations: 24.39 kB / 0.7624 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6435, allocations: 15.97 kB / 0.7624 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.6435, allocations: 4 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002038/0.6437, allocations: 227 kB / 0.7627 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6437, allocations: 0 / 0.7627 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005451/0.6443, allocations: 131.8 kB / 0.7628 GB, free: 6.906 MB / 0.5762 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.0008476/0.6451, allocations: 0.8994 MB / 0.7637 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.6457, allocations: 244.4 kB / 0.7639 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6457, allocations: 0 / 0.7639 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.6458, allocations: 63.84 kB / 0.764 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.6467, allocations: 141.2 kB / 0.7641 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.6498, allocations: 2.895 MB / 0.7669 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6501, allocations: 0.7758 MB / 0.7677 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002916/0.6504, allocations: 79.61 kB / 0.7677 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6506, allocations: 95.39 kB / 0.7678 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6506, allocations: 0 / 0.7678 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.6678, allocations: 7.571 MB / 0.7752 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.668, allocations: 220.3 kB / 0.7754 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.488, allocations: 0 / 0.7754 GB, free: 9.836 MB / 0.5919 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)