Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0008222/0.0008223, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003909/0.003909, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.147/1.147, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004305, allocations: 17.55 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3887, allocations: 81.57 MB / 0.5838 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001975/0.3907, allocations: 1.826 MB / 0.5855 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3922, allocations: 1.036 MB / 0.5865 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3924, allocations: 6.281 kB / 0.5866 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.3925, allocations: 13.22 kB / 0.5866 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.3927, allocations: 73.2 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.3932, allocations: 146.5 kB / 0.5868 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3935, allocations: 275.4 kB / 0.587 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3936, allocations: 63.12 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3938, allocations: 93.5 kB / 0.5872 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.394, allocations: 131.8 kB / 0.5873 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.3941, allocations: 12.16 kB / 0.5873 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.3945, allocations: 286.2 kB / 0.5876 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.3946, allocations: 30.33 kB / 0.5876 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3947, allocations: 138.1 kB / 0.5878 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.3951, allocations: 308.8 kB / 0.5881 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3951, allocations: 0 / 0.5881 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3951, allocations: 0 / 0.5881 GB, free: 1.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3951, allocations: 3.938 kB / 0.5881 GB, free: 1.32 MB / 430.1 MB 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.0009537/0.3961, allocations: 0.6105 MB / 0.5887 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3961, allocations: 8.688 kB / 0.5887 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.3962, allocations: 47.28 kB / 0.5887 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.3964, allocations: 38.5 kB / 0.5887 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3966, allocations: 278 kB / 0.589 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3967, allocations: 10.25 kB / 0.589 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.3967, allocations: 18.16 kB / 0.589 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.3972, allocations: 251.4 kB / 0.5893 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3973, allocations: 4.828 kB / 0.5893 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3973, allocations: 6.406 kB / 0.5893 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3973, allocations: 3.656 kB / 0.5893 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.398, allocations: 237.6 kB / 0.5895 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3992, allocations: 0.9529 MB / 0.5904 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/0.4, allocations: 265.7 kB / 0.5907 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.4004, allocations: 122.6 kB / 0.5908 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.4005, allocations: 10.86 kB / 0.5908 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4005, allocations: 40.08 kB / 0.5909 GB, free: 15.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4005, allocations: 0.75 kB / 0.5909 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001324/0.4018, allocations: 402.3 kB / 0.5913 GB, free: 15.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4019, allocations: 79.86 kB / 0.5913 GB, free: 15.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.4022, allocations: 269.9 kB / 0.5916 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4022, allocations: 31.08 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4023, allocations: 161.7 kB / 0.5918 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.4024, allocations: 54.45 kB / 0.5918 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.4024, allocations: 21.41 kB / 0.5918 GB, free: 14.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4026, allocations: 338.2 kB / 0.5922 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.403, allocations: 111.8 kB / 0.5923 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.4034, allocations: 166.6 kB / 0.5924 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.4041, allocations: 287.4 kB / 0.5927 GB, free: 14.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4042, allocations: 1.031 kB / 0.5927 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009756/0.4051, allocations: 334.6 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4052, allocations: 5.984 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4052, allocations: 6.688 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4052, allocations: 1.812 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4055, allocations: 75.33 kB / 0.5931 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4055, allocations: 2.672 kB / 0.5931 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4058, allocations: 55.78 kB / 0.5932 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4058, allocations: 7.969 kB / 0.5932 GB, free: 14.03 MB / 446.1 MB 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.0001263/0.406, allocations: 135.8 kB / 0.5933 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4061, allocations: 25.27 kB / 0.5933 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009397/0.407, allocations: 341.3 kB / 0.5937 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.407, allocations: 2.75 kB / 0.5937 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4071, allocations: 0 / 0.5937 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4071, allocations: 2.734 kB / 0.5937 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.4075, allocations: 294.2 kB / 0.5939 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4075, allocations: 0.8438 kB / 0.5939 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.4078, allocations: 68.47 kB / 0.594 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4078, allocations: 5.969 kB / 0.594 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4078, allocations: 2.375 kB / 0.594 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4078, allocations: 1.922 kB / 0.594 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4078, allocations: 3.938 kB / 0.594 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.4088, allocations: 485.7 kB / 0.5945 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.4089, allocations: 109.9 kB / 0.5946 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.4089, allocations: 10.03 kB / 0.5946 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.4092, allocations: 32.73 kB / 0.5946 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.4093, allocations: 22.78 kB / 0.5946 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4093, allocations: 4.859 kB / 0.5947 GB, free: 13.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.4095, allocations: 190.4 kB / 0.5948 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4095, allocations: 4 kB / 0.5948 GB, free: 12.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.4098, allocations: 59.75 kB / 0.5949 GB, free: 12.97 MB / 446.1 MB 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.001237/0.4111, allocations: 1.031 MB / 0.5959 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.4119, allocations: 267.2 kB / 0.5962 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4119, allocations: 0 / 0.5962 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.4123, allocations: 140.6 kB / 0.5963 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.4129, allocations: 68.23 kB / 0.5964 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.4172, allocations: 2.897 MB / 0.5992 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4175, allocations: 0.7509 MB / 0.5999 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.4177, allocations: 38.67 kB / 0.6 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4178, allocations: 85.11 kB / 0.6 GB, free: 9.336 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4178, allocations: 0 / 0.6 GB, free: 9.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/1.571, allocations: 5.875 MB / 0.6058 GB, free: 6.688 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.572, allocations: 198.5 kB / 0.606 GB, free: 6.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/3.388, allocations: 0 / 0.606 GB, free: 6.438 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)