Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.00168/0.00168, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002244/0.002243, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.671/2.671, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.936/1.936, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006157/0.0006164, allocations: 8 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.303, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003067/0.3062, allocations: 1.265 MB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.3084, allocations: 0.8214 MB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.3086, allocations: 7.938 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.3087, allocations: 3.984 kB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.3091, allocations: 19.91 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.3098, allocations: 91.73 kB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.31, allocations: 47.88 kB / 0.5895 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3101, allocations: 19.97 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3103, allocations: 27.91 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3105, allocations: 31.84 kB / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3105, allocations: 3.938 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006769/0.3112, allocations: 267.6 kB / 0.5898 GB, free: 436 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.3113, allocations: 4 kB / 0.5898 GB, free: 432 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.3113, allocations: 37.64 kB / 0.5899 GB, free: 388 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.3116, allocations: 108 kB / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3117, allocations: 0 / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3117, allocations: 0 / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3117, allocations: 0 / 0.59 GB, free: 280 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009063/0.3126, allocations: 399 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.3127, allocations: 12.03 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/0.3128, allocations: 34.55 kB / 0.5904 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.313, allocations: 11.91 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3133, allocations: 186.9 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3133, allocations: 4 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3134, allocations: 7.938 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.3137, allocations: 69.64 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3137, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3137, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3137, allocations: 4 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.314, allocations: 51.95 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.3147, allocations: 300.7 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3149, allocations: 66.55 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.315, allocations: 0 / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.315, allocations: 30.56 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.315, allocations: 0 / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0005924/0.3156, allocations: 125.6 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3157, allocations: 55.36 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3159, allocations: 132 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3159, allocations: 29.7 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.316, allocations: 92.14 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.3161, allocations: 23.73 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.3161, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3163, allocations: 318.8 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3164, allocations: 27.97 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3166, allocations: 28.23 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3168, allocations: 31.98 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3168, allocations: 0 / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003668/0.3172, allocations: 93.58 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3172, allocations: 4 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3172, allocations: 4 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3173, allocations: 3.938 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.3175, allocations: 15.98 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3175, allocations: 4 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.3176, allocations: 23.78 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3177, allocations: 0 / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.3179, allocations: 116.1 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.318, allocations: 8 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.3184, allocations: 105.9 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.3184, allocations: 7.938 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3184, allocations: 0 / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3184, allocations: 3.938 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.3188, allocations: 185.7 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3188, allocations: 4 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3189, allocations: 15.98 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.319, allocations: 0 / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.319, allocations: 8 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.319, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.319, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.3195, allocations: 199.6 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3196, allocations: 89.02 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3196, allocations: 3.984 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3198, allocations: 4 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.3199, allocations: 11.92 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3199, allocations: 0 / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001129/0.32, allocations: 104.8 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.32, allocations: 0 / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004581/0.3205, allocations: 20 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009033/0.3214, allocations: 0.7397 MB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.3218, allocations: 63.89 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3218, allocations: 0 / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3219, allocations: 39.98 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3223, allocations: 19.75 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.3233, allocations: 416.3 kB / 0.5941 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3238, allocations: 0.6965 MB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.3239, allocations: 8.125 kB / 0.5948 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.324, allocations: 27.42 kB / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.324, allocations: 0 / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.4326, allocations: 1.988 MB / 0.5968 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004021/0.4331, allocations: 186 kB / 0.597 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/4.193, allocations: 0 / 0.597 GB, free: 8.781 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: