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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 118.3 kB / 17.13 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 194.2 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 273.1 kB / 303.6 MB, free: 3.715 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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 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: 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: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 99.83 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5222, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2263/0.7485, allocations: 180 MB / 0.9937 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.7595, allocations: 7.861 MB / 1.001 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006916/0.7602, allocations: 23.88 kB / 1.001 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.761, allocations: 246.2 kB / 1.002 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.7646, allocations: 1.272 MB / 1.003 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.7667, allocations: 0.7391 MB / 1.004 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.7683, allocations: 1.08 MB / 1.005 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.769, allocations: 345.9 kB / 1.005 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.7719, allocations: 0.8689 MB / 1.006 GB, free: 36 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008997/0.7728, allocations: 454.4 kB / 1.006 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.7728, allocations: 39.94 kB / 1.006 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.7749, allocations: 1.005 MB / 1.007 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.7751, allocations: 163.5 kB / 1.007 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.7755, allocations: 242.8 kB / 1.008 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.7773, allocations: 0.9499 MB / 1.009 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7773, allocations: 0 / 1.009 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7773, allocations: 0 / 1.009 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.7774, allocations: 4 kB / 1.009 GB, free: 13.19 MB / 0.7481 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.001321/0.7787, allocations: 0.8211 MB / 1.009 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7787, allocations: 8.031 kB / 1.009 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.7797, allocations: 163.5 kB / 1.01 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.7803, allocations: 395.7 kB / 1.01 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.7804, allocations: 29 kB / 1.01 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.7805, allocations: 40 kB / 1.01 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.7813, allocations: 450.4 kB / 1.01 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7813, allocations: 0 / 1.01 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.7813, allocations: 15.94 kB / 1.01 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.7813, allocations: 12 kB / 1.01 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.782, allocations: 319.7 kB / 1.011 GB, free: 10.84 MB / 0.7481 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.002461/0.7844, allocations: 2.012 MB / 1.013 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.7849, allocations: 224.7 kB / 1.013 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.7851, allocations: 144.7 kB / 1.013 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/0.7858, allocations: 307.2 kB / 1.013 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.7858, allocations: 34.56 kB / 1.013 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.7858, allocations: 4 kB / 1.013 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001146/0.787, allocations: 457.4 kB / 1.014 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.787, allocations: 55.27 kB / 1.014 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.7875, allocations: 405.9 kB / 1.014 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.7875, allocations: 29.7 kB / 1.014 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.7877, allocations: 232.5 kB / 1.015 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.7878, allocations: 83.27 kB / 1.015 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.7879, allocations: 57.66 kB / 1.015 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7881, allocations: 358.7 kB / 1.015 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.7884, allocations: 111.9 kB / 1.015 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.7887, allocations: 187.8 kB / 1.015 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.7892, allocations: 306.1 kB / 1.016 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7892, allocations: 4 kB / 1.016 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006858/0.7899, allocations: 369 kB / 1.016 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7899, allocations: 4 kB / 1.016 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.79, allocations: 0 / 1.016 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.79, allocations: 4 kB / 1.016 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.7903, allocations: 59.91 kB / 1.016 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.7903, allocations: 7.938 kB / 1.016 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.7905, allocations: 39.72 kB / 1.016 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.7905, allocations: 20.22 kB / 1.016 GB, free: 5.047 MB / 0.7481 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.0002562/0.7908, allocations: 169.7 kB / 1.016 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.7909, allocations: 43.72 kB / 1.016 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/0.7916, allocations: 360 kB / 1.017 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7916, allocations: 4 kB / 1.017 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7916, allocations: 3.984 kB / 1.017 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7916, allocations: 0 / 1.017 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.7932, allocations: 0.9353 MB / 1.018 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7932, allocations: 8.062 kB / 1.018 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.7934, allocations: 55.91 kB / 1.018 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.7934, allocations: 11.97 kB / 1.018 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.7935, allocations: 7.938 kB / 1.018 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7935, allocations: 0 / 1.018 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7935, allocations: 4 kB / 1.018 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.7945, allocations: 0.6297 MB / 1.018 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.7947, allocations: 156.8 kB / 1.018 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.7947, allocations: 4 kB / 1.018 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.7949, allocations: 11.98 kB / 1.018 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.795, allocations: 23.92 kB / 1.018 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.795, allocations: 7.984 kB / 1.018 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003147/0.7953, allocations: 283.1 kB / 1.019 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7953, allocations: 0 / 1.019 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004808/0.7958, allocations: 111.8 kB / 1.019 GB, free: 2.094 MB / 0.7481 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.0004755/0.7963, allocations: 172.5 kB / 1.019 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006386/0.7969, allocations: 287.5 kB / 1.019 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7969, allocations: 0 / 1.019 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.7972, allocations: 139.8 kB / 1.019 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7983, allocations: 219.8 kB / 1.02 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.7998, allocations: 0.8668 MB / 1.02 GB, free: 384 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.8003, allocations: 0.8233 MB / 1.021 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.8005, allocations: 43.42 kB / 1.021 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.8005, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of Templates: time 0.01205/0.8125, allocations: 6.87 MB / 1.028 GB, free: 8.703 MB / 0.7637 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.795044146943837] Failed to read output from testmodel.py, exit status != 0: 0.8210751821752638 0.834945735 0.054432854 Calling exit ...