Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",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.000982/0.0009821, 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.0009842/0.0009843, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.225/1.225, 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-master/package.mo): time 0.8423/0.8423, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.67 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 80.92 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.3631/0.495, allocations: 163 MB / 0.743 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.4976, allocations: 1.574 MB / 0.7445 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.498, allocations: 8.406 kB / 0.7445 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.4985, allocations: 113.2 kB / 0.7446 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.4996, allocations: 447.9 kB / 0.7451 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.5014, allocations: 0.691 MB / 0.7457 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.5025, allocations: 0.9921 MB / 0.7467 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.5029, allocations: 227.6 kB / 0.7469 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.5035, allocations: 285.4 kB / 0.7472 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.5039, allocations: 233.5 kB / 0.7474 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.5039, allocations: 18 kB / 0.7474 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.5054, allocations: 0.982 MB / 0.7484 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.5056, allocations: 113.7 kB / 0.7485 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.5058, allocations: 146.5 kB / 0.7486 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.507, allocations: 0.772 MB / 0.7494 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.507, allocations: 0 / 0.7494 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.507, allocations: 0 / 0.7494 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.507, allocations: 3.938 kB / 0.7494 GB, free: 2.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001126/0.5081, allocations: 0.6676 MB / 0.75 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5082, allocations: 14.89 kB / 0.7501 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/0.5083, allocations: 61.67 kB / 0.7501 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.5088, allocations: 90.05 kB / 0.7502 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5091, allocations: 297.7 kB / 0.7505 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5092, allocations: 22.69 kB / 0.7505 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.5092, allocations: 23.75 kB / 0.7505 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.5098, allocations: 324.4 kB / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5099, allocations: 0 / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.5099, allocations: 15.06 kB / 0.7509 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5099, allocations: 8.938 kB / 0.7509 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.5106, allocations: 285.8 kB / 0.7511 GB, free: 1.434 MB / 0.5606 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.001526/0.5121, allocations: 1.069 MB / 0.7522 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.513, allocations: 327.5 kB / 0.7525 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.5133, allocations: 128.8 kB / 0.7526 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.514, allocations: 404.2 kB / 0.753 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.514, allocations: 34.56 kB / 0.753 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.514, allocations: 0 / 0.753 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001147/0.5152, allocations: 407 kB / 0.7534 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.5152, allocations: 55.41 kB / 0.7535 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.5154, allocations: 271 kB / 0.7537 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5155, allocations: 25.7 kB / 0.7538 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5156, allocations: 180.1 kB / 0.7539 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.5156, allocations: 59.11 kB / 0.754 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.5157, allocations: 41.7 kB / 0.754 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5158, allocations: 338.8 kB / 0.7544 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.5161, allocations: 103.9 kB / 0.7545 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.5165, allocations: 161.2 kB / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.5171, allocations: 270.5 kB / 0.7549 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5171, allocations: 7.875 kB / 0.7549 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007107/0.5178, allocations: 321 kB / 0.7552 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5178, allocations: 4 kB / 0.7552 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5178, allocations: 7.938 kB / 0.7552 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.5178, allocations: 0 / 0.7552 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.5181, allocations: 60.11 kB / 0.7552 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5181, allocations: 3.938 kB / 0.7553 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.5184, allocations: 43.8 kB / 0.7553 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.5184, allocations: 11.12 kB / 0.7553 GB, free: 13.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001394/0.5186, allocations: 153.8 kB / 0.7554 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.5186, allocations: 31.62 kB / 0.7555 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.5194, allocations: 317.6 kB / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5194, allocations: 4 kB / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5194, allocations: 0 / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5194, allocations: 4 kB / 0.7558 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.5208, allocations: 0.9407 MB / 0.7567 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5209, allocations: 0 / 0.7567 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.5211, allocations: 47.95 kB / 0.7568 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5211, allocations: 4 kB / 0.7568 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5212, allocations: 11.94 kB / 0.7568 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5212, allocations: 192 / 0.7568 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5212, allocations: 8 kB / 0.7568 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.5222, allocations: 0.5508 MB / 0.7573 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5224, allocations: 124.7 kB / 0.7574 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.5224, allocations: 11.98 kB / 0.7574 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5227, allocations: 27.97 kB / 0.7575 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.5228, allocations: 23.92 kB / 0.7575 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5228, allocations: 4 kB / 0.7575 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001701/0.523, allocations: 197.9 kB / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.523, allocations: 0 / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004251/0.5234, allocations: 107.8 kB / 0.7578 GB, free: 10.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001665/0.5251, allocations: 1.201 MB / 0.759 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.5258, allocations: 254 kB / 0.7592 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5258, allocations: 0 / 0.7592 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.5262, allocations: 135.8 kB / 0.7593 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.5269, allocations: 125.5 kB / 0.7595 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.5311, allocations: 3.068 MB / 0.7625 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.5314, allocations: 0.7792 MB / 0.7632 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.5317, allocations: 62.25 kB / 0.7633 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.5318, allocations: 91.41 kB / 0.7634 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5318, allocations: 0 / 0.7634 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3752/0.907, allocations: 8.386 MB / 0.7715 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.9073, allocations: 230.4 kB / 0.7718 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.659, allocations: 4 kB / 0.7718 GB, free: 12.35 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)