Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff,fileNamePrefix="IDEAS_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.005221/0.005221, 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.001099/0.001099, allocations: 193.5 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 72.14 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff): time 0.002548/0.1229, allocations: 1.678 MB / 0.6608 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1244, allocations: 1.049 MB / 0.6619 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1246, allocations: 8 kB / 0.6619 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.1246, allocations: 11.81 kB / 0.6619 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.125, allocations: 86.91 kB / 0.662 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1252, allocations: 119.7 kB / 0.6621 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1255, allocations: 147.5 kB / 0.6622 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1256, allocations: 41.47 kB / 0.6623 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1258, allocations: 103.6 kB / 0.6624 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.1259, allocations: 47.7 kB / 0.6624 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1259, allocations: 8 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1261, allocations: 103.8 kB / 0.6625 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1261, allocations: 19.86 kB / 0.6625 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.1262, allocations: 55.61 kB / 0.6626 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1264, allocations: 151.4 kB / 0.6627 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1264, allocations: 0 / 0.6627 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1264, allocations: 4 kB / 0.6627 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.1264, allocations: 0 / 0.6627 GB, free: 7.16 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.0005595/0.127, allocations: 464.9 kB / 0.6632 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.127, allocations: 8.031 kB / 0.6632 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1271, allocations: 38.75 kB / 0.6632 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1271, allocations: 16.78 kB / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1274, allocations: 236.5 kB / 0.6635 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1274, allocations: 8.125 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1274, allocations: 8 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1276, allocations: 89.64 kB / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1276, allocations: 0 / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1277, allocations: 4 kB / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1277, allocations: 0 / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1279, allocations: 67.94 kB / 0.6636 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.1284, allocations: 392.4 kB / 0.664 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1286, allocations: 54.61 kB / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.1287, allocations: 24.84 kB / 0.6641 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.1292, allocations: 0.57 MB / 0.6646 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1292, allocations: 34.5 kB / 0.6647 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1292, allocations: 4 kB / 0.6647 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003798/0.1296, allocations: 113.7 kB / 0.6648 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1297, allocations: 55.41 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1298, allocations: 204.1 kB / 0.665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1299, allocations: 25.7 kB / 0.665 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1299, allocations: 119.9 kB / 0.6652 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.13, allocations: 15.89 kB / 0.6652 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.13, allocations: 29.67 kB / 0.6652 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.1301, allocations: 322.8 kB / 0.6655 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1302, allocations: 31.97 kB / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1304, allocations: 81.84 kB / 0.6656 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1306, allocations: 93.92 kB / 0.6657 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1306, allocations: 4 kB / 0.6657 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002891/0.1309, allocations: 141.3 kB / 0.6658 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1309, allocations: 5.875 kB / 0.6659 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1309, allocations: 4 kB / 0.6659 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1309, allocations: 4 kB / 0.6659 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1311, allocations: 23.98 kB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1311, allocations: 7.984 kB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.1312, allocations: 15.92 kB / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1312, allocations: 4.188 kB / 0.6659 GB, free: 3.488 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 (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 8.987e-05/0.1313, allocations: 134.6 kB / 0.666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.1313, allocations: 23.8 kB / 0.6661 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1316, allocations: 106.6 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1317, allocations: 4 kB / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1317, allocations: 0 / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1317, allocations: 0 / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1319, allocations: 205.6 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1319, allocations: 3.938 kB / 0.6664 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.132, allocations: 15.92 kB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.132, allocations: 0 / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.132, allocations: 4 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.132, allocations: 0 / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.132, allocations: 0 / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1323, allocations: 191.4 kB / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.1324, allocations: 104.9 kB / 0.6667 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1324, allocations: 4 kB / 0.6667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.1325, allocations: 8.125 kB / 0.6667 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1325, allocations: 8.016 kB / 0.6667 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1326, allocations: 8 kB / 0.6667 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001061/0.1327, allocations: 153.6 kB / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1327, allocations: 0 / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000249/0.1329, allocations: 19.94 kB / 0.6669 GB, free: 2.422 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 (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.0005401/0.1335, allocations: 0.7435 MB / 0.6676 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1337, allocations: 75.88 kB / 0.6677 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1337, allocations: 192 / 0.6677 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.1338, allocations: 31.92 kB / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1341, allocations: 8.609 kB / 0.6677 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1359, allocations: 1.686 MB / 0.6693 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1362, allocations: 0.7119 MB / 0.67 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1363, allocations: 12.55 kB / 0.6701 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.1364, allocations: 27.44 kB / 0.6701 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/0.1364, allocations: 4 kB / 0.6701 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.154, allocations: 2.414 MB / 0.6724 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.186, allocations: 5.375 kB / 0.6724 GB, free: 12.72 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe 2>&1)