Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_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.005411/0.005411, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002148/0.002148, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9243/0.9243, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002499/0.4092, allocations: 2.121 MB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4105, allocations: 1.025 MB / 0.6672 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.4106, allocations: 3.781 kB / 0.6672 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.4107, allocations: 23.67 kB / 0.6673 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.411, allocations: 85.7 kB / 0.6673 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.4113, allocations: 189.1 kB / 0.6675 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.4116, allocations: 293 kB / 0.6678 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4117, allocations: 76.3 kB / 0.6679 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4118, allocations: 104.6 kB / 0.668 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.412, allocations: 139.3 kB / 0.6681 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.4121, allocations: 17.12 kB / 0.6681 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.4124, allocations: 298.2 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.4125, allocations: 54.17 kB / 0.6685 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.4125, allocations: 113.3 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.4129, allocations: 331.9 kB / 0.6689 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4129, allocations: 4 kB / 0.6689 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4129, allocations: 1.344 kB / 0.6689 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4129, allocations: 0 / 0.6689 GB, free: 3.656 MB / 0.4981 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.0008527/0.4137, allocations: 0.6356 MB / 0.6695 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4138, allocations: 8.938 kB / 0.6695 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.4138, allocations: 47.11 kB / 0.6696 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.414, allocations: 36.7 kB / 0.6696 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.4143, allocations: 289.2 kB / 0.6699 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4144, allocations: 14.16 kB / 0.6699 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.4144, allocations: 18.53 kB / 0.6699 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.4148, allocations: 232 kB / 0.6701 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4148, allocations: 1.312 kB / 0.6701 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4149, allocations: 5.312 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4149, allocations: 4.094 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.4154, allocations: 194.8 kB / 0.6703 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.4163, allocations: 0.9516 MB / 0.6713 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.417, allocations: 237 kB / 0.6715 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.4173, allocations: 114 kB / 0.6716 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4173, allocations: 1.156 kB / 0.6716 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.4173, allocations: 40.78 kB / 0.6716 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.4173, allocations: 0 / 0.6716 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0009883/0.4183, allocations: 330.8 kB / 0.6719 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.4184, allocations: 82.36 kB / 0.672 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4186, allocations: 267.6 kB / 0.6723 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4186, allocations: 27.45 kB / 0.6723 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.4187, allocations: 163.9 kB / 0.6725 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.4187, allocations: 57.62 kB / 0.6725 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.4188, allocations: 39.8 kB / 0.6726 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.4188, allocations: 340.2 kB / 0.6729 GB, free: 288 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.4191, allocations: 87.05 kB / 0.673 GB, free: 252 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.4194, allocations: 145.8 kB / 0.6731 GB, free: 144 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.42, allocations: 243.8 kB / 0.6733 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.42, allocations: 0 / 0.6733 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007718/0.4208, allocations: 295.9 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4208, allocations: 8.438 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4208, allocations: 1.156 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4208, allocations: 3.469 kB / 0.6736 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4211, allocations: 54.33 kB / 0.6737 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4211, allocations: 7.156 kB / 0.6737 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4214, allocations: 44.61 kB / 0.6737 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4214, allocations: 10.56 kB / 0.6737 GB, free: 15.78 MB / 0.5137 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.0001212/0.4215, allocations: 135.4 kB / 0.6739 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4216, allocations: 28.56 kB / 0.6739 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.4224, allocations: 290.8 kB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4224, allocations: 2.125 kB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4224, allocations: 4.797 kB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4224, allocations: 1.031 kB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.4228, allocations: 297.7 kB / 0.6745 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4228, allocations: 1.562 kB / 0.6745 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.4231, allocations: 61.08 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4231, allocations: 1.094 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4231, allocations: 6.156 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4231, allocations: 1.094 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4231, allocations: 1.062 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.4239, allocations: 446.2 kB / 0.675 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.4239, allocations: 108.3 kB / 0.6751 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.424, allocations: 1.094 kB / 0.6751 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.4242, allocations: 35.05 kB / 0.6751 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.4243, allocations: 19.55 kB / 0.6751 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4243, allocations: 3.5 kB / 0.6751 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001629/0.4245, allocations: 190.9 kB / 0.6753 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 0 / 0.6753 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003513/0.4249, allocations: 58.09 kB / 0.6754 GB, free: 14.53 MB / 0.5137 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.00109/0.426, allocations: 0.9964 MB / 0.6763 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.4266, allocations: 222 kB / 0.6765 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4266, allocations: 0 / 0.6765 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.427, allocations: 125.1 kB / 0.6767 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.4275, allocations: 76.53 kB / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.4315, allocations: 2.699 MB / 0.6794 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4318, allocations: 0.7504 MB / 0.6801 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.432, allocations: 28.81 kB / 0.6801 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4321, allocations: 85.31 kB / 0.6802 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.4321, allocations: 3.938 kB / 0.6802 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4604, allocations: 6.545 MB / 0.6866 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.282, allocations: 9 kB / 0.6866 GB, free: 7.352 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)