Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_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.001273/0.001273, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002608, allocations: 100.8 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1617, allocations: 89.15 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4486/0.6103, allocations: 165.3 MB / 0.855 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.6132, allocations: 1.543 MB / 0.8565 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.6135, allocations: 15.44 kB / 0.8565 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.614, allocations: 150.4 kB / 0.8566 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.6151, allocations: 460 kB / 0.8571 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.6169, allocations: 0.7481 MB / 0.8578 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.6176, allocations: 0.7095 MB / 0.8585 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.618, allocations: 263.2 kB / 0.8588 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.6185, allocations: 315.7 kB / 0.8591 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.6187, allocations: 225.3 kB / 0.8593 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.6188, allocations: 25.69 kB / 0.8593 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.6202, allocations: 0.8579 MB / 0.8601 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.6203, allocations: 118.8 kB / 0.8603 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.6205, allocations: 154.9 kB / 0.8604 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009917/0.6215, allocations: 0.729 MB / 0.8611 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6215, allocations: 0 / 0.8611 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6215, allocations: 0 / 0.8611 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6215, allocations: 0 / 0.8611 GB, free: 11.27 MB / 0.5919 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.001097/0.6226, allocations: 0.6863 MB / 0.8618 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6227, allocations: 11.73 kB / 0.8618 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.317e-05/0.6227, allocations: 56.27 kB / 0.8618 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.6232, allocations: 84.97 kB / 0.8619 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.6236, allocations: 303.2 kB / 0.8622 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.6237, allocations: 18.06 kB / 0.8622 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.6237, allocations: 29.94 kB / 0.8623 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.6244, allocations: 328.2 kB / 0.8626 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6244, allocations: 0 / 0.8626 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.6244, allocations: 10.06 kB / 0.8626 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.6244, allocations: 8.656 kB / 0.8626 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.6251, allocations: 291.2 kB / 0.8629 GB, free: 9.91 MB / 0.5919 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.001578/0.6267, allocations: 1.069 MB / 0.8639 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.6276, allocations: 328.5 kB / 0.8642 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6279, allocations: 138.9 kB / 0.8644 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/0.6286, allocations: 391.4 kB / 0.8647 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6287, allocations: 36.75 kB / 0.8648 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.6287, allocations: 0 / 0.8648 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001186/0.6299, allocations: 413.6 kB / 0.8652 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.6299, allocations: 58.33 kB / 0.8652 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.6302, allocations: 265.5 kB / 0.8655 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.6302, allocations: 36.42 kB / 0.8655 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6303, allocations: 160.4 kB / 0.8657 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.6304, allocations: 73.09 kB / 0.8657 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.6305, allocations: 43.42 kB / 0.8658 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6307, allocations: 335.5 kB / 0.8661 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.631, allocations: 105.7 kB / 0.8662 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.6313, allocations: 165.2 kB / 0.8664 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.6319, allocations: 265.6 kB / 0.8666 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6319, allocations: 0 / 0.8666 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007183/0.6327, allocations: 322.5 kB / 0.8669 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6327, allocations: 5.25 kB / 0.8669 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6327, allocations: 2.688 kB / 0.8669 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6327, allocations: 6.438 kB / 0.8669 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.633, allocations: 56.25 kB / 0.867 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.633, allocations: 10.8 kB / 0.867 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.6333, allocations: 35.19 kB / 0.867 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.6333, allocations: 13.16 kB / 0.867 GB, free: 6.691 MB / 0.5919 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.000149/0.6335, allocations: 150.5 kB / 0.8672 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.6335, allocations: 23.94 kB / 0.8672 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.6343, allocations: 327.9 kB / 0.8675 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6343, allocations: 3.938 kB / 0.8675 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6343, allocations: 1.781 kB / 0.8675 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6343, allocations: 0 / 0.8675 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.6359, allocations: 0.9238 MB / 0.8684 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6359, allocations: 6.844 kB / 0.8684 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.6362, allocations: 51.14 kB / 0.8685 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6362, allocations: 2.562 kB / 0.8685 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6362, allocations: 10.5 kB / 0.8685 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6362, allocations: 3.219 kB / 0.8685 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6362, allocations: 192 / 0.8685 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6373, allocations: 0.5672 MB / 0.869 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.6374, allocations: 119.9 kB / 0.8692 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.6375, allocations: 13.17 kB / 0.8692 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6377, allocations: 21.58 kB / 0.8692 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.6378, allocations: 23.66 kB / 0.8692 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.6378, allocations: 7.781 kB / 0.8692 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001779/0.638, allocations: 191.6 kB / 0.8694 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.638, allocations: 2.781 kB / 0.8694 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004244/0.6384, allocations: 112.4 kB / 0.8695 GB, free: 4.828 MB / 0.5919 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.001746/0.6402, allocations: 1.202 MB / 0.8707 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.6409, allocations: 264 kB / 0.8709 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6409, allocations: 320 / 0.8709 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.6413, allocations: 149.2 kB / 0.8711 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.642, allocations: 124.3 kB / 0.8712 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.6462, allocations: 2.972 MB / 0.8741 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6466, allocations: 0.7801 MB / 0.8749 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000267/0.6469, allocations: 70.5 kB / 0.8749 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.647, allocations: 89.56 kB / 0.875 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.647, allocations: 0 / 0.875 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.6818, allocations: 8.897 MB / 0.8837 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.45, allocations: 3.938 kB / 0.8837 GB, free: 8.336 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)