Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004916/0.004916, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001084/0.001084, allocations: 195.4 kB / 16.67 MB, free: 5.871 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 292.9 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 95.84 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4794, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003257/0.4827, allocations: 2.12 MB / 0.7685 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4843, allocations: 1.033 MB / 0.7695 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4845, allocations: 3.938 kB / 0.7695 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.4845, allocations: 19.73 kB / 0.7695 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.4849, allocations: 91.2 kB / 0.7696 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.4853, allocations: 187.5 kB / 0.7698 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.4856, allocations: 290.8 kB / 0.77 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4858, allocations: 72.47 kB / 0.7701 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4859, allocations: 107.6 kB / 0.7702 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.4862, allocations: 143.3 kB / 0.7703 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.4862, allocations: 20 kB / 0.7704 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.4866, allocations: 295.7 kB / 0.7706 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.4867, allocations: 47.77 kB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.4868, allocations: 127.3 kB / 0.7708 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.4872, allocations: 332.4 kB / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4872, allocations: 0 / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4873, allocations: 0 / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.4873, allocations: 0 / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001092/0.4884, allocations: 0.6345 MB / 0.7717 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.4884, allocations: 16.02 kB / 0.7718 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.4887, allocations: 36.75 kB / 0.7718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.4891, allocations: 287.7 kB / 0.7721 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4891, allocations: 12.66 kB / 0.7721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4891, allocations: 16.31 kB / 0.7721 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.4897, allocations: 236.9 kB / 0.7723 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4897, allocations: 0 / 0.7723 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.4897, allocations: 8 kB / 0.7723 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4897, allocations: 4 kB / 0.7723 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006625/0.4904, allocations: 203.7 kB / 0.7725 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4915, allocations: 0.9386 MB / 0.7734 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.4923, allocations: 245.2 kB / 0.7737 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.4927, allocations: 101.6 kB / 0.7738 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.4927, allocations: 11.88 kB / 0.7738 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4927, allocations: 34.56 kB / 0.7738 GB, free: 12.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.4927, allocations: 0 / 0.7738 GB, free: 12.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001248/0.494, allocations: 346 kB / 0.7742 GB, free: 11.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.4941, allocations: 81.11 kB / 0.7742 GB, free: 11.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4944, allocations: 267 kB / 0.7745 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.4945, allocations: 29.7 kB / 0.7745 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4946, allocations: 164.2 kB / 0.7747 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.4947, allocations: 51.59 kB / 0.7747 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4948, allocations: 41.66 kB / 0.7748 GB, free: 11.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.495, allocations: 338.8 kB / 0.7751 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.4954, allocations: 99.84 kB / 0.7752 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.4958, allocations: 141.2 kB / 0.7753 GB, free: 10.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.4965, allocations: 245.7 kB / 0.7755 GB, free: 10.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4965, allocations: 0 / 0.7755 GB, free: 10.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009306/0.4974, allocations: 293.2 kB / 0.7758 GB, free: 9.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4975, allocations: 6.188 kB / 0.7758 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4975, allocations: 4.094 kB / 0.7758 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4975, allocations: 3.938 kB / 0.7758 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.4978, allocations: 63.88 kB / 0.7759 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4978, allocations: 4 kB / 0.7759 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4981, allocations: 47.88 kB / 0.776 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4981, allocations: 12 kB / 0.776 GB, free: 9.777 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0002206/0.4984, allocations: 136.2 kB / 0.7761 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4985, allocations: 27.8 kB / 0.7761 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.4994, allocations: 287.1 kB / 0.7764 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4994, allocations: 4 kB / 0.7764 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4994, allocations: 0 / 0.7764 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4994, allocations: 0 / 0.7764 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.4999, allocations: 293.4 kB / 0.7767 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.4999, allocations: 3.938 kB / 0.7767 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.5001, allocations: 55.95 kB / 0.7767 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5002, allocations: 0 / 0.7767 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5002, allocations: 11.98 kB / 0.7767 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5002, allocations: 0 / 0.7767 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5002, allocations: 0 / 0.7767 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.5011, allocations: 445.1 kB / 0.7772 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.5012, allocations: 112.8 kB / 0.7773 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5013, allocations: 0 / 0.7773 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.5016, allocations: 31.97 kB / 0.7773 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.5016, allocations: 15.97 kB / 0.7773 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5017, allocations: 8 kB / 0.7773 GB, free: 8.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002055/0.5019, allocations: 190 kB / 0.7775 GB, free: 8.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5019, allocations: 0 / 0.7775 GB, free: 8.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004456/0.5024, allocations: 52.12 kB / 0.7776 GB, free: 8.043 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (20): * Single equations (assignments): 20 * 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.0002652/0.5026, allocations: 123.1 kB / 0.7777 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008225/0.5035, allocations: 235.6 kB / 0.7779 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5035, allocations: 4 kB / 0.7779 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.5039, allocations: 120.2 kB / 0.778 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.5045, allocations: 77.56 kB / 0.7781 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/0.5055, allocations: 446.5 kB / 0.7785 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5059, allocations: 0.7596 MB / 0.7793 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.5061, allocations: 26.3 kB / 0.7793 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.5062, allocations: 23.44 kB / 0.7793 GB, free: 6.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.5062, allocations: 0 / 0.7793 GB, free: 6.18 MB / 0.545 GB Notification: Performance of Templates: time 0.008773/0.515, allocations: 3.974 MB / 0.7832 GB, free: 2.277 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)