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.006689/0.006689, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001301/0.001301, allocations: 190.3 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9147/0.9147, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.5852 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4099, allocations: 80.92 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1807/0.5906, allocations: 169.5 MB / 0.8297 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008945/0.5996, allocations: 7.317 MB / 0.8368 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.6001, allocations: 11.94 kB / 0.8368 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008142/0.601, allocations: 210.7 kB / 0.837 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.6026, allocations: 0.6105 MB / 0.8376 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.6039, allocations: 424.5 kB / 0.838 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009417/0.6048, allocations: 0.709 MB / 0.8387 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.6053, allocations: 271.1 kB / 0.839 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.6061, allocations: 386.5 kB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.6065, allocations: 211.1 kB / 0.8395 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.6066, allocations: 20 kB / 0.8396 GB, free: 13.35 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.6077, allocations: 0.7093 MB / 0.8402 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.6078, allocations: 107.7 kB / 0.8404 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.608, allocations: 163.2 kB / 0.8405 GB, free: 12.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.6088, allocations: 0.5886 MB / 0.8411 GB, free: 11.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6088, allocations: 3.984 kB / 0.8411 GB, free: 11.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6088, allocations: 0 / 0.8411 GB, free: 11.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.6088, allocations: 0 / 0.8411 GB, free: 11.79 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.0008486/0.6097, allocations: 0.642 MB / 0.8417 GB, free: 11.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6097, allocations: 19.91 kB / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.6098, allocations: 62.53 kB / 0.8418 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.6101, allocations: 63.73 kB / 0.8419 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.6106, allocations: 318.3 kB / 0.8422 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.6107, allocations: 20.44 kB / 0.8422 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.6107, allocations: 27.94 kB / 0.8422 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.6112, allocations: 300.6 kB / 0.8425 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6112, allocations: 3.938 kB / 0.8425 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.6112, allocations: 8 kB / 0.8425 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.6113, allocations: 4 kB / 0.8425 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.6116, allocations: 175.8 kB / 0.8427 GB, free: 10.02 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.001606/0.6132, allocations: 1.694 MB / 0.8443 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6135, allocations: 90.5 kB / 0.8444 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.6137, allocations: 88.83 kB / 0.8445 GB, free: 8.02 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.614, allocations: 182.2 kB / 0.8447 GB, free: 7.805 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.614, allocations: 34.56 kB / 0.8447 GB, free: 7.762 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 3.056e-06/0.614, allocations: 3.984 kB / 0.8447 GB, free: 7.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0006895/0.6147, allocations: 229.6 kB / 0.8449 GB, free: 7.527 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.6148, allocations: 59.39 kB / 0.845 GB, free: 7.457 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.6151, allocations: 316.5 kB / 0.8453 GB, free: 7.145 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6151, allocations: 33.7 kB / 0.8453 GB, free: 7.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6152, allocations: 196.1 kB / 0.8455 GB, free: 6.906 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.6153, allocations: 43.69 kB / 0.8455 GB, free: 6.863 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.6154, allocations: 49.66 kB / 0.8456 GB, free: 6.809 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6155, allocations: 346.8 kB / 0.8459 GB, free: 6.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.6156, allocations: 64.81 kB / 0.846 GB, free: 6.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6159, allocations: 187.8 kB / 0.8462 GB, free: 6.152 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.6162, allocations: 233.4 kB / 0.8464 GB, free: 5.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6162, allocations: 4 kB / 0.8464 GB, free: 5.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004682/0.6167, allocations: 253.1 kB / 0.8466 GB, free: 5.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6167, allocations: 4 kB / 0.8466 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6168, allocations: 4 kB / 0.8466 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6168, allocations: 4 kB / 0.8466 GB, free: 5.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.617, allocations: 55.91 kB / 0.8467 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.617, allocations: 12.41 kB / 0.8467 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.6173, allocations: 43.7 kB / 0.8467 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.6173, allocations: 19.98 kB / 0.8468 GB, free: 5.477 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002313/0.6175, allocations: 173.5 kB / 0.8469 GB, free: 5.305 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002314/0.6178, allocations: 189 kB / 0.8471 GB, free: 5.059 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003466/0.6181, allocations: 237.5 kB / 0.8473 GB, free: 4.777 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.6181, allocations: 3.938 kB / 0.8473 GB, free: 4.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004499/0.6186, allocations: 253.1 kB / 0.8476 GB, free: 4.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.6186, allocations: 8 kB / 0.8476 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6186, allocations: 4 kB / 0.8476 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.6186, allocations: 4 kB / 0.8476 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.6188, allocations: 43.92 kB / 0.8476 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6188, allocations: 8.391 kB / 0.8477 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.6191, allocations: 31.88 kB / 0.8477 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6191, allocations: 16 kB / 0.8477 GB, free: 4.406 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.0001125/0.6192, allocations: 192.1 kB / 0.8479 GB, free: 4.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.6193, allocations: 35.75 kB / 0.8479 GB, free: 4.176 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.6196, allocations: 160.4 kB / 0.8481 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6197, allocations: 3.938 kB / 0.8481 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6197, allocations: 4 kB / 0.8481 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6197, allocations: 3.984 kB / 0.8481 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.6205, allocations: 0.6094 MB / 0.8487 GB, free: 3.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6206, allocations: 4 kB / 0.8487 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6207, allocations: 23.92 kB / 0.8487 GB, free: 3.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.6207, allocations: 4 kB / 0.8487 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6207, allocations: 7.938 kB / 0.8487 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6207, allocations: 0 / 0.8487 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6207, allocations: 7.984 kB / 0.8487 GB, free: 3.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.6211, allocations: 305.5 kB / 0.849 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6212, allocations: 112.9 kB / 0.8491 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.6213, allocations: 3.938 kB / 0.8491 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.6214, allocations: 15.98 kB / 0.8491 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.6215, allocations: 11.92 kB / 0.8491 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.6215, allocations: 4 kB / 0.8492 GB, free: 2.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002145/0.6217, allocations: 235 kB / 0.8494 GB, free: 2.539 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6217, allocations: 4 kB / 0.8494 GB, free: 2.535 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005568/0.6223, allocations: 135.8 kB / 0.8495 GB, free: 2.402 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.0009229/0.6232, allocations: 0.9031 MB / 0.8504 GB, free: 1.461 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.6238, allocations: 247.5 kB / 0.8506 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6238, allocations: 1.562 kB / 0.8506 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.624, allocations: 64.33 kB / 0.8507 GB, free: 1.156 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.6247, allocations: 117.7 kB / 0.8508 GB, free: 1.043 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.6279, allocations: 2.815 MB / 0.8536 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.6282, allocations: 0.7756 MB / 0.8543 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.6285, allocations: 87.53 kB / 0.8544 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6286, allocations: 87.41 kB / 0.8545 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.6286, allocations: 4 kB / 0.8545 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.6556, allocations: 7.911 MB / 0.8622 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.43, allocations: 8.516 kB / 0.8622 GB, free: 5.285 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)