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.004941/0.004941, allocations: 106.2 kB / 15.74 MB, free: 6.449 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.00131/0.00131, allocations: 196.1 kB / 16.67 MB, free: 6.355 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9448/0.9448, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 75.88 kB / 0.5858 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 81.01 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002146/0.3862, allocations: 1.574 MB / 0.6664 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3873, allocations: 0.8947 MB / 0.6673 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.3874, allocations: 1.062 kB / 0.6673 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.3874, allocations: 11.86 kB / 0.6673 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3876, allocations: 20.2 kB / 0.6673 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3879, allocations: 140.3 kB / 0.6675 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.388, allocations: 86.92 kB / 0.6675 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.3881, allocations: 13.3 kB / 0.6675 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.3882, allocations: 29.39 kB / 0.6676 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3883, allocations: 37.38 kB / 0.6676 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3883, allocations: 3.938 kB / 0.6676 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3886, allocations: 284.6 kB / 0.6679 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3886, allocations: 14.27 kB / 0.6679 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.3887, allocations: 31.58 kB / 0.6679 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3889, allocations: 155 kB / 0.6681 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3889, allocations: 0 / 0.6681 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3889, allocations: 3.984 kB / 0.6681 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3889, allocations: 0 / 0.6681 GB, free: 4.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004117/0.3893, allocations: 406.9 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3894, allocations: 10.03 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.3894, allocations: 36.22 kB / 0.6685 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.3895, allocations: 18.22 kB / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3897, allocations: 190.4 kB / 0.6687 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3897, allocations: 9.25 kB / 0.6687 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3897, allocations: 2.156 kB / 0.6687 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3898, allocations: 66.48 kB / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3899, allocations: 0 / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3899, allocations: 1.125 kB / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.3899, allocations: 1.531 kB / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.39, allocations: 43.72 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3904, allocations: 299.8 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3905, allocations: 56 kB / 0.6692 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.3906, allocations: 35.38 kB / 0.6692 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3906, allocations: 0 / 0.6692 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3906, allocations: 31.97 kB / 0.6692 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3906, allocations: 0 / 0.6692 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003274/0.3909, allocations: 114.5 kB / 0.6693 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.391, allocations: 52.69 kB / 0.6694 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.3911, allocations: 139.6 kB / 0.6695 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.3911, allocations: 27.08 kB / 0.6696 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.3911, allocations: 99.17 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3911, allocations: 17.22 kB / 0.6697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.3912, allocations: 19.44 kB / 0.6697 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.3912, allocations: 316.2 kB / 0.67 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.3913, allocations: 24.58 kB / 0.67 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.3914, allocations: 20.55 kB / 0.67 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3915, allocations: 55.8 kB / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3915, allocations: 1.531 kB / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001939/0.3917, allocations: 96.27 kB / 0.6702 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3917, allocations: 5.812 kB / 0.6702 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3917, allocations: 0 / 0.6702 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3918, allocations: 1.125 kB / 0.6702 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3919, allocations: 14.52 kB / 0.6702 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3919, allocations: 4 kB / 0.6702 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.3919, allocations: 8.5 kB / 0.6702 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3919, allocations: 1.406 kB / 0.6702 GB, free: 2.512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.392, allocations: 116.1 kB / 0.6703 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.392, allocations: 7.859 kB / 0.6703 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3923, allocations: 95.53 kB / 0.6704 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3923, allocations: 5.438 kB / 0.6704 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3923, allocations: 4.484 kB / 0.6704 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3923, allocations: 5.188 kB / 0.6704 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3924, allocations: 183.2 kB / 0.6706 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3924, allocations: 4 kB / 0.6706 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.3925, allocations: 14.48 kB / 0.6706 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3925, allocations: 1.375 kB / 0.6706 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3925, allocations: 7.938 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3925, allocations: 1.156 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3925, allocations: 0 / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3928, allocations: 197.1 kB / 0.6708 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.3928, allocations: 82.28 kB / 0.6709 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3928, allocations: 0.875 kB / 0.6709 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.3929, allocations: 12.28 kB / 0.6709 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3929, allocations: 10.28 kB / 0.6709 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.393, allocations: 1.344 kB / 0.6709 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.393, allocations: 103.8 kB / 0.671 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.393, allocations: 0 / 0.671 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.3932, allocations: 30.22 kB / 0.6711 GB, free: 1.688 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 (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.0003928/0.3936, allocations: 0.7235 MB / 0.6718 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3938, allocations: 61.75 kB / 0.6718 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3939, allocations: 0 / 0.6718 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.3939, allocations: 30.25 kB / 0.6718 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3942, allocations: 18.44 kB / 0.6719 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3955, allocations: 1.458 MB / 0.6733 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3959, allocations: 0.6895 MB / 0.674 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.3959, allocations: 11.73 kB / 0.674 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.396, allocations: 23.31 kB / 0.674 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.396, allocations: 4 kB / 0.674 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.4187, allocations: 2.295 MB / 0.6762 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.839, allocations: 14.19 kB / 0.6763 GB, free: 13.67 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)