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.001148/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001183/0.001183, allocations: 190.1 kB / 16.14 MB, free: 6.688 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8619/0.8619, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 68.19 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1171, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002603/0.1198, allocations: 2.161 MB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1211, allocations: 1.057 MB / 0.587 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.1212, allocations: 4 kB / 0.587 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.1213, allocations: 23.72 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1215, allocations: 67.48 kB / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1218, allocations: 147.7 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.122, allocations: 282.8 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1222, allocations: 57 kB / 0.5875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1223, allocations: 107.5 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1225, allocations: 131.4 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1225, allocations: 12 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1228, allocations: 287.7 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1229, allocations: 43.7 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.123, allocations: 119.3 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1233, allocations: 310.9 kB / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1233, allocations: 0 / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1233, allocations: 0 / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1233, allocations: 0 / 0.5885 GB, free: 104 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008946/0.1242, allocations: 0.6272 MB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1242, allocations: 12.03 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.1243, allocations: 54.67 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1245, allocations: 40.53 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1247, allocations: 275.5 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1247, allocations: 8.656 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1248, allocations: 19.94 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.1252, allocations: 228.6 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1252, allocations: 0 / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1253, allocations: 4 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1253, allocations: 4 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.1258, allocations: 199.8 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.1268, allocations: 0.9461 MB / 0.5908 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.1275, allocations: 245.2 kB / 0.5911 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1278, allocations: 101.6 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1278, allocations: 0 / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1279, allocations: 42.56 kB / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 9.31e-07/0.1279, allocations: 0 / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0009847/0.1288, allocations: 345.3 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1289, allocations: 77.11 kB / 0.5916 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1291, allocations: 267 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1291, allocations: 33.7 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1292, allocations: 160.1 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1293, allocations: 59.19 kB / 0.5921 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.1293, allocations: 45.64 kB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.1294, allocations: 338.8 kB / 0.5925 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1297, allocations: 87.91 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.13, allocations: 145.8 kB / 0.5927 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.1306, allocations: 241.7 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1306, allocations: 0 / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007189/0.1313, allocations: 293 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1313, allocations: 6.031 kB / 0.5932 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1313, allocations: 4.156 kB / 0.5932 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1313, allocations: 4 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.1316, allocations: 63.88 kB / 0.5933 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1316, allocations: 4 kB / 0.5933 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.1318, allocations: 35.81 kB / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1319, allocations: 8 kB / 0.5933 GB, free: 10.82 MB / 0.4981 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 9.339e-05/0.132, allocations: 145.6 kB / 0.5935 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.1321, allocations: 23.72 kB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.1328, allocations: 295.3 kB / 0.5938 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1328, allocations: 4 kB / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1328, allocations: 0 / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1328, allocations: 0 / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1331, allocations: 297.3 kB / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1331, allocations: 0 / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1333, allocations: 55.89 kB / 0.5941 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1334, allocations: 0 / 0.5941 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1334, allocations: 19.98 kB / 0.5941 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1334, allocations: 0 / 0.5941 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1334, allocations: 0 / 0.5941 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.1341, allocations: 450.1 kB / 0.5945 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1342, allocations: 104.8 kB / 0.5946 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1342, allocations: 4 kB / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1344, allocations: 23.97 kB / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.1345, allocations: 19.97 kB / 0.5947 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1345, allocations: 4 kB / 0.5947 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001453/0.1347, allocations: 198 kB / 0.5949 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1347, allocations: 0 / 0.5949 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003037/0.135, allocations: 56.16 kB / 0.5949 GB, free: 9.055 MB / 0.4981 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.000957/0.1359, allocations: 0.9866 MB / 0.5959 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006098/0.1366, allocations: 223.7 kB / 0.5961 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1366, allocations: 0 / 0.5961 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1369, allocations: 120.6 kB / 0.5962 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1374, allocations: 64.97 kB / 0.5963 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.1406, allocations: 2.79 MB / 0.599 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1409, allocations: 0.7519 MB / 0.5998 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.141, allocations: 26.23 kB / 0.5998 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1411, allocations: 79.41 kB / 0.5999 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1411, allocations: 8 kB / 0.5999 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.558/0.6992, allocations: 5.969 MB / 0.6057 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/0.6993, allocations: 208.9 kB / 0.6059 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.627, allocations: 0.6562 kB / 0.6059 GB, free: 51.47 MB / 0.4981 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)