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.004662/0.004662, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.00127/0.00127, allocations: 193 kB / 16.68 MB, free: 6.363 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002693/0.002693, allocations: 277.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9947/0.9947, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 92.33 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1793, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5147/0.6941, allocations: 165.2 MB / 0.9273 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.6972, allocations: 1.556 MB / 0.9288 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.6975, allocations: 11.94 kB / 0.9288 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.698, allocations: 146.9 kB / 0.929 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.6994, allocations: 473.8 kB / 0.9294 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.7015, allocations: 0.7466 MB / 0.9302 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009295/0.7024, allocations: 0.702 MB / 0.9308 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.7029, allocations: 266.5 kB / 0.9311 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.7035, allocations: 314.9 kB / 0.9314 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.7038, allocations: 227.1 kB / 0.9316 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.7038, allocations: 24 kB / 0.9316 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.7054, allocations: 0.8652 MB / 0.9325 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.7056, allocations: 115.7 kB / 0.9326 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.7058, allocations: 155.2 kB / 0.9327 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.7069, allocations: 0.7569 MB / 0.9335 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7069, allocations: 0 / 0.9335 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7069, allocations: 0 / 0.9335 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.707, allocations: 4 kB / 0.9335 GB, free: 7.551 MB / 0.6856 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.001234/0.7082, allocations: 0.6849 MB / 0.9341 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7082, allocations: 8.031 kB / 0.9342 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.617e-05/0.7083, allocations: 59.11 kB / 0.9342 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.7088, allocations: 99.62 kB / 0.9343 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.7093, allocations: 310 kB / 0.9346 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.7094, allocations: 20.56 kB / 0.9346 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.7094, allocations: 28 kB / 0.9347 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.7101, allocations: 324.2 kB / 0.935 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7101, allocations: 8.875 kB / 0.935 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.7102, allocations: 8 kB / 0.935 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.7102, allocations: 11.94 kB / 0.935 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.7109, allocations: 281.5 kB / 0.9353 GB, free: 5.621 MB / 0.6856 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.001718/0.7126, allocations: 1.067 MB / 0.9363 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.7135, allocations: 319.7 kB / 0.9366 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.7139, allocations: 132.8 kB / 0.9367 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.7147, allocations: 400.3 kB / 0.9371 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.7148, allocations: 41.3 kB / 0.9372 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.7148, allocations: 3.938 kB / 0.9372 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.7161, allocations: 407.4 kB / 0.9375 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.7162, allocations: 55.41 kB / 0.9376 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.7165, allocations: 271 kB / 0.9379 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.7165, allocations: 29.7 kB / 0.9379 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.7167, allocations: 172.3 kB / 0.938 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.7167, allocations: 63.44 kB / 0.9381 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.7168, allocations: 49.7 kB / 0.9382 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.717, allocations: 330.8 kB / 0.9385 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.7173, allocations: 107.9 kB / 0.9386 GB, free: 2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.7176, allocations: 163.9 kB / 0.9387 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.7183, allocations: 279 kB / 0.939 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7183, allocations: 4 kB / 0.939 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007356/0.719, allocations: 313.2 kB / 0.9393 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7191, allocations: 4 kB / 0.9393 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7191, allocations: 8.156 kB / 0.9393 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.7191, allocations: 3.938 kB / 0.9393 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.7194, allocations: 59.94 kB / 0.9394 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7194, allocations: 0 / 0.9394 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.7197, allocations: 47.73 kB / 0.9394 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.7197, allocations: 8 kB / 0.9394 GB, free: 1.086 MB / 0.6856 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.0001843/0.7199, allocations: 161.8 kB / 0.9396 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.72, allocations: 23.86 kB / 0.9396 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.7208, allocations: 311.3 kB / 0.9399 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.7208, allocations: 7.938 kB / 0.9399 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7208, allocations: 0 / 0.9399 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7208, allocations: 7.984 kB / 0.9399 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.7225, allocations: 0.9291 MB / 0.9408 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7225, allocations: 3.625 kB / 0.9408 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.7227, allocations: 51.89 kB / 0.9409 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.7228, allocations: 4 kB / 0.9409 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.7228, allocations: 8 kB / 0.9409 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7228, allocations: 192 / 0.9409 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7228, allocations: 8 kB / 0.9409 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.7239, allocations: 0.5586 MB / 0.9414 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.7241, allocations: 128.9 kB / 0.9416 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.7241, allocations: 8 kB / 0.9416 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.7244, allocations: 24.03 kB / 0.9416 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.7245, allocations: 19.92 kB / 0.9416 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.7245, allocations: 12 kB / 0.9416 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000212/0.7247, allocations: 197.8 kB / 0.9418 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7247, allocations: 0 / 0.9418 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005422/0.7253, allocations: 107.8 kB / 0.9419 GB, free: 14.36 MB / 0.7012 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.00194/0.7272, allocations: 1.203 MB / 0.9431 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007209/0.7279, allocations: 263.6 kB / 0.9433 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.728, allocations: 4.312 kB / 0.9433 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.7283, allocations: 135.8 kB / 0.9435 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.7291, allocations: 129.5 kB / 0.9436 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.7341, allocations: 2.968 MB / 0.9465 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.7345, allocations: 0.7794 MB / 0.9473 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.7348, allocations: 70.31 kB / 0.9473 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.735, allocations: 95.39 kB / 0.9474 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/0.735, allocations: 0 / 0.9474 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.7722, allocations: 8.95 MB / 0.9562 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.805, allocations: 14.78 kB / 0.9562 GB, free: 15.78 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)