Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106.5 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 214.4 kB / 23 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002407/0.002407, allocations: 278.3 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.168/1.168, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 105 kB / 0.7408 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1719, allocations: 95.38 MB / 0.834 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6217/0.7935, allocations: 183.2 MB / 1.013 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008547/0.8021, allocations: 7.945 MB / 1.021 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.8029, allocations: 29.56 kB / 1.021 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.8036, allocations: 247.4 kB / 1.021 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.807, allocations: 1.286 MB / 1.022 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.8088, allocations: 0.7698 MB / 1.023 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.8103, allocations: 1.095 MB / 1.024 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005367/0.8108, allocations: 336 kB / 1.024 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.8134, allocations: 0.8807 MB / 1.025 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.8141, allocations: 460.6 kB / 1.026 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.8142, allocations: 38.41 kB / 1.026 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.816, allocations: 1.02 MB / 1.027 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.8161, allocations: 169.3 kB / 1.027 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.8164, allocations: 243.9 kB / 1.027 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.8178, allocations: 0.9487 MB / 1.028 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.8178, allocations: 1.312 kB / 1.028 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8178, allocations: 0.75 kB / 1.028 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.8179, allocations: 0 / 1.028 GB, free: 3.254 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001211/0.8191, allocations: 0.7402 MB / 1.029 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.8191, allocations: 10.94 kB / 1.029 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.82, allocations: 158.3 kB / 1.029 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.8206, allocations: 344.3 kB / 1.029 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.8206, allocations: 31.5 kB / 1.029 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.8207, allocations: 35.31 kB / 1.029 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.8213, allocations: 452 kB / 1.03 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.8213, allocations: 0 / 1.03 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.8214, allocations: 14.41 kB / 1.03 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.8214, allocations: 14.56 kB / 1.03 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.8219, allocations: 320.7 kB / 1.03 GB, free: 18.46 MB / 0.7325 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.002098/0.824, allocations: 1.977 MB / 1.032 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.8243, allocations: 225.2 kB / 1.032 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.8245, allocations: 138.4 kB / 1.032 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.825, allocations: 83.94 kB / 1.032 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.825, allocations: 31.34 kB / 1.032 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.825, allocations: 0.8438 kB / 1.032 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009182/0.8259, allocations: 452.9 kB / 1.033 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.826, allocations: 57.41 kB / 1.033 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.8263, allocations: 401.4 kB / 1.033 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.8264, allocations: 29.45 kB / 1.033 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.8265, allocations: 229 kB / 1.033 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.8266, allocations: 92.02 kB / 1.034 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.8266, allocations: 58.27 kB / 1.034 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8268, allocations: 351.6 kB / 1.034 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.827, allocations: 117.3 kB / 1.034 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.8272, allocations: 181.5 kB / 1.034 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.8276, allocations: 305 kB / 1.035 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8276, allocations: 0 / 1.035 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005302/0.8282, allocations: 368.1 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8282, allocations: 6.562 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8282, allocations: 2.844 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8282, allocations: 3.625 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.8285, allocations: 62.08 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.8285, allocations: 3.828 kB / 1.035 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.8287, allocations: 36.31 kB / 1.035 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.8288, allocations: 15.92 kB / 1.035 GB, free: 16.08 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.000183/0.829, allocations: 168.4 kB / 1.035 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.829, allocations: 45.59 kB / 1.035 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.8296, allocations: 367.8 kB / 1.036 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8296, allocations: 6.75 kB / 1.036 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.8296, allocations: 0 / 1.036 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8296, allocations: 4.875 kB / 1.036 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.8308, allocations: 0.9211 MB / 1.036 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8308, allocations: 0 / 1.036 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.831, allocations: 50.72 kB / 1.037 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.8311, allocations: 6.359 kB / 1.037 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.8311, allocations: 9.75 kB / 1.037 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8311, allocations: 3.281 kB / 1.037 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8311, allocations: 8.719 kB / 1.037 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.8319, allocations: 0.6238 MB / 1.037 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.832, allocations: 82.19 kB / 1.037 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.832, allocations: 6.906 kB / 1.037 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.8322, allocations: 16.72 kB / 1.037 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.8323, allocations: 23.38 kB / 1.037 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.8323, allocations: 11.22 kB / 1.037 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002542/0.8326, allocations: 285.7 kB / 1.038 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8326, allocations: 0 / 1.038 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004273/0.833, allocations: 109.7 kB / 1.038 GB, free: 15.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0002645/0.8333, allocations: 149.3 kB / 1.038 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.8338, allocations: 280.6 kB / 1.038 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8338, allocations: 0.9375 kB / 1.038 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.834, allocations: 142.6 kB / 1.038 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.8349, allocations: 226.2 kB / 1.038 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.8361, allocations: 0.8541 MB / 1.039 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.8366, allocations: 0.8257 MB / 1.04 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8367, allocations: 43.06 kB / 1.04 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8367, allocations: 0.9688 kB / 1.04 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.009333/0.846, allocations: 6.864 MB / 1.047 GB, free: 13.34 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.977636229945347] Failed to read output from testmodel.py, exit status != 0: 0.8529710730072111 0.864709426 0.044115515 Calling exit ...