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.005534/0.005534, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.001311/0.001311, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9946/0.9946, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 71.89 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4387, allocations: 81.02 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.214/0.6527, allocations: 169.5 MB / 0.8304 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008912/0.6617, allocations: 7.319 MB / 0.8375 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.6623, allocations: 11.94 kB / 0.8375 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.663, allocations: 214.5 kB / 0.8377 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.6645, allocations: 0.5755 MB / 0.8383 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.6658, allocations: 435 kB / 0.8387 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009502/0.6667, allocations: 0.7051 MB / 0.8394 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.6672, allocations: 271 kB / 0.8396 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.6679, allocations: 378.5 kB / 0.84 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.6682, allocations: 211.1 kB / 0.8402 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.6682, allocations: 20 kB / 0.8402 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.6695, allocations: 0.7055 MB / 0.8409 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.6696, allocations: 111.6 kB / 0.841 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.6698, allocations: 155.2 kB / 0.8412 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.6707, allocations: 0.5887 MB / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6707, allocations: 0 / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6708, allocations: 0 / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.6708, allocations: 0 / 0.8417 GB, free: 11.14 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.0009841/0.6718, allocations: 0.6498 MB / 0.8424 GB, free: 10.44 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6718, allocations: 16.03 kB / 0.8424 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.6719, allocations: 58.55 kB / 0.8425 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.6722, allocations: 67.72 kB / 0.8425 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.6728, allocations: 322.3 kB / 0.8428 GB, free: 9.941 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.6728, allocations: 16.44 kB / 0.8428 GB, free: 9.926 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.6728, allocations: 27.94 kB / 0.8429 GB, free: 9.898 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.6733, allocations: 300.6 kB / 0.8432 GB, free: 9.566 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6734, allocations: 0 / 0.8432 GB, free: 9.566 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.6734, allocations: 12 kB / 0.8432 GB, free: 9.555 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.6734, allocations: 8 kB / 0.8432 GB, free: 9.547 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.6738, allocations: 171.7 kB / 0.8433 GB, free: 9.379 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.001786/0.6756, allocations: 1.694 MB / 0.845 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.6759, allocations: 90.59 kB / 0.8451 GB, free: 7.465 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.6761, allocations: 84.8 kB / 0.8452 GB, free: 7.379 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.6764, allocations: 186.2 kB / 0.8453 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6764, allocations: 30.56 kB / 0.8454 GB, free: 7.121 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 3.046e-06/0.6764, allocations: 0 / 0.8454 GB, free: 7.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0007097/0.6771, allocations: 237.2 kB / 0.8456 GB, free: 6.883 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.6772, allocations: 51.41 kB / 0.8456 GB, free: 6.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.6775, allocations: 328.4 kB / 0.846 GB, free: 6.496 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.6775, allocations: 25.7 kB / 0.846 GB, free: 6.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.6777, allocations: 196.1 kB / 0.8462 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.6778, allocations: 43.69 kB / 0.8462 GB, free: 6.223 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.6778, allocations: 53.66 kB / 0.8463 GB, free: 6.164 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.678, allocations: 342.8 kB / 0.8466 GB, free: 5.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.6782, allocations: 64.81 kB / 0.8466 GB, free: 5.754 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.6785, allocations: 196.7 kB / 0.8468 GB, free: 5.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.6789, allocations: 229.5 kB / 0.8471 GB, free: 5.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.6789, allocations: 4 kB / 0.8471 GB, free: 5.227 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004953/0.6794, allocations: 257 kB / 0.8473 GB, free: 4.969 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6794, allocations: 6.656 kB / 0.8473 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6794, allocations: 4 kB / 0.8473 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6795, allocations: 8 kB / 0.8473 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.6796, allocations: 44.33 kB / 0.8474 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.6797, allocations: 19.92 kB / 0.8474 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.6799, allocations: 35.77 kB / 0.8474 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.6799, allocations: 12 kB / 0.8474 GB, free: 4.844 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002489/0.6802, allocations: 168.1 kB / 0.8476 GB, free: 4.676 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002671/0.6805, allocations: 189.1 kB / 0.8478 GB, free: 4.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003844/0.6809, allocations: 233.6 kB / 0.848 GB, free: 4.152 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.712e-06/0.6809, allocations: 7.938 kB / 0.848 GB, free: 4.145 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004761/0.6814, allocations: 253 kB / 0.8482 GB, free: 3.891 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6814, allocations: 8 kB / 0.8482 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6814, allocations: 4 kB / 0.8483 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.6814, allocations: 4 kB / 0.8483 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6816, allocations: 48.31 kB / 0.8483 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6816, allocations: 8 kB / 0.8483 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.6818, allocations: 23.94 kB / 0.8483 GB, free: 3.797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.6818, allocations: 16 kB / 0.8483 GB, free: 3.781 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.0001391/0.682, allocations: 204.1 kB / 0.8485 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.682, allocations: 27.81 kB / 0.8486 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.6825, allocations: 172.3 kB / 0.8487 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6825, allocations: 4 kB / 0.8487 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6825, allocations: 4 kB / 0.8487 GB, free: 3.367 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6825, allocations: 4 kB / 0.8487 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.6835, allocations: 0.6016 MB / 0.8493 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6835, allocations: 4 kB / 0.8493 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.6836, allocations: 27.97 kB / 0.8494 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6836, allocations: 0 / 0.8494 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.6836, allocations: 11.94 kB / 0.8494 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6836, allocations: 7.938 kB / 0.8494 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6837, allocations: 3.938 kB / 0.8494 GB, free: 2.629 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.6841, allocations: 301.5 kB / 0.8497 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6842, allocations: 116.9 kB / 0.8498 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.6842, allocations: 11.94 kB / 0.8498 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6844, allocations: 7.984 kB / 0.8498 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.6845, allocations: 8 kB / 0.8498 GB, free: 2.137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.6845, allocations: 15.92 kB / 0.8498 GB, free: 2.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000249/0.6848, allocations: 227.1 kB / 0.85 GB, free: 1.902 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6848, allocations: 0 / 0.85 GB, free: 1.902 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005593/0.6853, allocations: 135.8 kB / 0.8502 GB, free: 1.77 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.001024/0.6864, allocations: 0.8979 MB / 0.851 GB, free: 0.832 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.687, allocations: 249.1 kB / 0.8513 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.687, allocations: 0 / 0.8513 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.6871, allocations: 68.34 kB / 0.8514 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.6879, allocations: 131.2 kB / 0.8515 GB, free: 412 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.6915, allocations: 2.801 MB / 0.8542 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.692, allocations: 0.7795 MB / 0.855 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000245/0.6922, allocations: 87.53 kB / 0.8551 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.6924, allocations: 95.41 kB / 0.8551 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.6924, allocations: 0 / 0.8551 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.7266, allocations: 7.915 MB / 0.8629 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.243/9.969, allocations: 0.8906 kB / 0.8629 GB, free: 4.645 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)