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) 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007751/0.007751, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001683/0.001683, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 290.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 99.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1863, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5854/0.7718, allocations: 179.4 MB / 0.9416 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009135/0.7809, allocations: 7.83 MB / 0.9492 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.7816, allocations: 19.88 kB / 0.9492 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007386/0.7824, allocations: 246.2 kB / 0.9495 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.7855, allocations: 1.213 MB / 0.9507 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.7872, allocations: 0.7327 MB / 0.9514 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.7884, allocations: 1.076 MB / 0.9524 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.7889, allocations: 417.3 kB / 0.9528 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.7912, allocations: 0.8368 MB / 0.9536 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.7918, allocations: 438.5 kB / 0.9541 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.7919, allocations: 36 kB / 0.9541 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.7939, allocations: 0.9548 MB / 0.955 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.7941, allocations: 155.5 kB / 0.9552 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.7943, allocations: 246.8 kB / 0.9554 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.7955, allocations: 0.9341 MB / 0.9563 GB, free: 248 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7955, allocations: 4 kB / 0.9563 GB, free: 244 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7955, allocations: 0 / 0.9563 GB, free: 244 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7955, allocations: 0 / 0.9563 GB, free: 244 kB / 0.7012 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.001112/0.7966, allocations: 0.8149 MB / 0.9571 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7967, allocations: 8.031 kB / 0.9571 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/0.7976, allocations: 155.2 kB / 0.9573 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.7982, allocations: 403.3 kB / 0.9577 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.7982, allocations: 29 kB / 0.9577 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.7983, allocations: 36 kB / 0.9577 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.799, allocations: 454.4 kB / 0.9582 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.799, allocations: 0 / 0.9582 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.7991, allocations: 16 kB / 0.9582 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.7991, allocations: 13.12 kB / 0.9582 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.7997, allocations: 323.7 kB / 0.9585 GB, free: 13.9 MB / 0.7169 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.001985/0.8016, allocations: 2.008 MB / 0.9605 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.802, allocations: 234.5 kB / 0.9607 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.8023, allocations: 148.8 kB / 0.9608 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.8029, allocations: 303.2 kB / 0.9611 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.8029, allocations: 38.56 kB / 0.9611 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.8029, allocations: 0 / 0.9611 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009652/0.8039, allocations: 455.2 kB / 0.9616 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.8039, allocations: 59.41 kB / 0.9616 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.8043, allocations: 390 kB / 0.962 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.8044, allocations: 33.7 kB / 0.962 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.8045, allocations: 236.2 kB / 0.9623 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.8046, allocations: 82.81 kB / 0.9623 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.8047, allocations: 57.67 kB / 0.9624 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8048, allocations: 362.6 kB / 0.9627 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.8051, allocations: 107.9 kB / 0.9629 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.8053, allocations: 190.8 kB / 0.963 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.8058, allocations: 308.2 kB / 0.9633 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8058, allocations: 0 / 0.9633 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005742/0.8064, allocations: 368.2 kB / 0.9637 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8064, allocations: 4 kB / 0.9637 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8064, allocations: 4 kB / 0.9637 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8065, allocations: 4 kB / 0.9637 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.8067, allocations: 59.91 kB / 0.9637 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.8068, allocations: 4 kB / 0.9638 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.807, allocations: 43.52 kB / 0.9638 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.8071, allocations: 8 kB / 0.9638 GB, free: 8.117 MB / 0.7169 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.0001937/0.8073, allocations: 179.1 kB / 0.964 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.8073, allocations: 39.53 kB / 0.964 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.8081, allocations: 361 kB / 0.9644 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8081, allocations: 4 kB / 0.9644 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8081, allocations: 0.875 kB / 0.9644 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8081, allocations: 0 / 0.9644 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.8094, allocations: 0.9409 MB / 0.9653 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8094, allocations: 224 / 0.9653 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.8097, allocations: 51.91 kB / 0.9653 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8097, allocations: 4 kB / 0.9653 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.8097, allocations: 14.44 kB / 0.9653 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.8097, allocations: 4 kB / 0.9653 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8097, allocations: 0 / 0.9653 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.8106, allocations: 0.6424 MB / 0.966 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.8108, allocations: 152.5 kB / 0.9661 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.8108, allocations: 8.047 kB / 0.9661 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.811, allocations: 12 kB / 0.9661 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.8111, allocations: 27.91 kB / 0.9662 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.8111, allocations: 8 kB / 0.9662 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002616/0.8114, allocations: 279.1 kB / 0.9664 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.633e-06/0.8114, allocations: 0 / 0.9664 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004304/0.8118, allocations: 115.8 kB / 0.9666 GB, free: 5.164 MB / 0.7169 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.0003788/0.8122, allocations: 176.4 kB / 0.9667 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.8128, allocations: 279.7 kB / 0.967 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8128, allocations: 8.438 kB / 0.967 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.813, allocations: 151.7 kB / 0.9671 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.814, allocations: 229.9 kB / 0.9674 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8152, allocations: 0.8075 MB / 0.9681 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.8156, allocations: 0.8311 MB / 0.969 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.8158, allocations: 95.41 kB / 0.969 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.8159, allocations: 31.44 kB / 0.9691 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8159, allocations: 4 kB / 0.9691 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.01302/0.8289, allocations: 7.796 MB / 0.9767 GB, free: 10.84 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)