Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.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.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff",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.008211/0.008211, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001558/0.001559, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8657/0.8657, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.62 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1966, allocations: 80.92 MB / 0.6642 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff): time 0.003745/0.2004, allocations: 1.683 MB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2025, allocations: 1.049 MB / 0.6668 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2027, allocations: 8 kB / 0.6668 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.2028, allocations: 11.81 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.2032, allocations: 79.59 kB / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.2036, allocations: 111.7 kB / 0.667 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.204, allocations: 155.5 kB / 0.6672 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2041, allocations: 37.48 kB / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.2044, allocations: 99.61 kB / 0.6673 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2045, allocations: 51.7 kB / 0.6674 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2045, allocations: 4 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.2047, allocations: 107.8 kB / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.2048, allocations: 19.84 kB / 0.6675 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.2049, allocations: 63.61 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.2052, allocations: 151.4 kB / 0.6677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2052, allocations: 0 / 0.6677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2052, allocations: 0 / 0.6677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.2052, allocations: 0 / 0.6677 GB, free: 2.672 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007709/0.206, allocations: 454.5 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.206, allocations: 9.109 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.2061, allocations: 46.67 kB / 0.6682 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.2062, allocations: 20.84 kB / 0.6682 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2065, allocations: 228.3 kB / 0.6684 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2066, allocations: 12.12 kB / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2066, allocations: 4 kB / 0.6684 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2069, allocations: 93.64 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2069, allocations: 0 / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2069, allocations: 0 / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2069, allocations: 4 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.2072, allocations: 71.94 kB / 0.6686 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.2079, allocations: 380.5 kB / 0.669 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.2081, allocations: 62.61 kB / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2082, allocations: 24.84 kB / 0.669 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.2088, allocations: 0.57 MB / 0.6696 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2088, allocations: 34.56 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2089, allocations: 7.875 kB / 0.6696 GB, free: 388 kB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004517/0.2093, allocations: 117.5 kB / 0.6697 GB, free: 264 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2094, allocations: 51.41 kB / 0.6698 GB, free: 200 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2096, allocations: 204.2 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2096, allocations: 25.7 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.2097, allocations: 119.9 kB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2098, allocations: 7.906 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.2098, allocations: 41.66 kB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.21, allocations: 318.8 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2101, allocations: 23.98 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2102, allocations: 77.92 kB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2105, allocations: 101.9 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2105, allocations: 8 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003041/0.2108, allocations: 129.3 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2108, allocations: 11.98 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2108, allocations: 0 / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2109, allocations: 4 kB / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.211, allocations: 19.98 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.211, allocations: 8.188 kB / 0.6708 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2112, allocations: 19.88 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2112, allocations: 7.938 kB / 0.6709 GB, free: 15 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 (10): * Single equations (assignments): 10 * 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.0001056/0.2113, allocations: 121.8 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.2113, allocations: 19.84 kB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.2117, allocations: 118.5 kB / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2117, allocations: 0 / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2117, allocations: 0 / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2117, allocations: 0 / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2119, allocations: 197.6 kB / 0.6713 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.212, allocations: 3.938 kB / 0.6713 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.2121, allocations: 20.16 kB / 0.6713 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.2121, allocations: 0 / 0.6713 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2121, allocations: 8 kB / 0.6713 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2121, allocations: 3.984 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2121, allocations: 0 / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2124, allocations: 195.5 kB / 0.6715 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.2125, allocations: 100.9 kB / 0.6716 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2125, allocations: 8.172 kB / 0.6716 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.2127, allocations: 8 kB / 0.6716 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2127, allocations: 7.922 kB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2127, allocations: 8 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001378/0.2129, allocations: 145.6 kB / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2129, allocations: 0 / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002784/0.2132, allocations: 23.94 kB / 0.6718 GB, free: 13.93 MB / 0.5137 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 (5): * Single equations (assignments): 5 * 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.0008135/0.214, allocations: 0.7486 MB / 0.6726 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.2143, allocations: 63.89 kB / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2143, allocations: 0 / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.2144, allocations: 40.28 kB / 0.6727 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2147, allocations: 17.48 kB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.2171, allocations: 1.69 MB / 0.6743 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2175, allocations: 0.7119 MB / 0.675 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.129e-05/0.2176, allocations: 12.56 kB / 0.675 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.2177, allocations: 31.42 kB / 0.6751 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.2177, allocations: 3.938 kB / 0.6751 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2409, allocations: 2.412 MB / 0.6774 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.414, allocations: 11.12 kB / 0.6774 GB, free: 8.211 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe 2>&1)