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.005279/0.005279, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001351/0.001351, allocations: 202.8 kB / 16.68 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001836, allocations: 63.89 kB / 0.5809 GB, free: 8.105 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3527, allocations: 80.21 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff): time 0.002641/0.3554, allocations: 1.686 MB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3569, allocations: 1.037 MB / 0.6619 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.357, allocations: 10.25 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.357, allocations: 10.41 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.3574, allocations: 76.62 kB / 0.662 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.3576, allocations: 110.2 kB / 0.6621 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3578, allocations: 159.3 kB / 0.6622 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.358, allocations: 31.03 kB / 0.6622 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3581, allocations: 84.89 kB / 0.6623 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.3582, allocations: 58.91 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3582, allocations: 5.438 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3584, allocations: 93.33 kB / 0.6625 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3585, allocations: 22.23 kB / 0.6625 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3585, allocations: 60.17 kB / 0.6626 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3587, allocations: 155 kB / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3587, allocations: 0 / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3588, allocations: 3.938 kB / 0.6627 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3588, allocations: 5.062 kB / 0.6627 GB, free: 7.582 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.0005108/0.3593, allocations: 454.9 kB / 0.6631 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3593, allocations: 10.72 kB / 0.6632 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.3594, allocations: 38.55 kB / 0.6632 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3594, allocations: 17.17 kB / 0.6632 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.3597, allocations: 234.8 kB / 0.6634 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3597, allocations: 10.78 kB / 0.6634 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3597, allocations: 9.656 kB / 0.6634 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.3599, allocations: 86.23 kB / 0.6635 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.36, allocations: 0 / 0.6635 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.36, allocations: 1.312 kB / 0.6635 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.36, allocations: 1.125 kB / 0.6635 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3602, allocations: 79.77 kB / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.3608, allocations: 384 kB / 0.664 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.361, allocations: 54.61 kB / 0.664 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.3611, allocations: 33.33 kB / 0.6641 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.3614, allocations: 0.5665 MB / 0.6646 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3615, allocations: 31.97 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3615, allocations: 0 / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004017/0.3619, allocations: 111.8 kB / 0.6648 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.3619, allocations: 56.5 kB / 0.6648 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3621, allocations: 204.9 kB / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.3621, allocations: 25.7 kB / 0.665 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3622, allocations: 118.3 kB / 0.6651 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3622, allocations: 26.14 kB / 0.6652 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.3622, allocations: 27.05 kB / 0.6652 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.3623, allocations: 321.4 kB / 0.6655 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3624, allocations: 38.28 kB / 0.6655 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3625, allocations: 73.05 kB / 0.6656 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3627, allocations: 104 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3627, allocations: 5.031 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002733/0.363, allocations: 136.3 kB / 0.6658 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.363, allocations: 11.59 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.363, allocations: 1.281 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3631, allocations: 2.25 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3632, allocations: 26.73 kB / 0.6659 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3632, allocations: 5.062 kB / 0.6659 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.3633, allocations: 11.8 kB / 0.6659 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.3633, allocations: 4.281 kB / 0.6659 GB, free: 4.559 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 6.42e-05/0.3634, allocations: 128 kB / 0.666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3634, allocations: 23.02 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.3637, allocations: 110.4 kB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3637, allocations: 1.469 kB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3638, allocations: 7.938 kB / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3638, allocations: 0 / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3639, allocations: 204.5 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3639, allocations: 3.938 kB / 0.6664 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.364, allocations: 14.39 kB / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.364, allocations: 0 / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.364, allocations: 1 kB / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.364, allocations: 1.375 kB / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.364, allocations: 4.062 kB / 0.6664 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3643, allocations: 190.5 kB / 0.6666 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.3643, allocations: 108.5 kB / 0.6667 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3644, allocations: 1.062 kB / 0.6667 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.3645, allocations: 3.062 kB / 0.6667 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3645, allocations: 14.95 kB / 0.6667 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3645, allocations: 1.531 kB / 0.6667 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.3646, allocations: 144.8 kB / 0.6668 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3646, allocations: 5.188 kB / 0.6668 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002705/0.3649, allocations: 25.03 kB / 0.6668 GB, free: 3.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 (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.0004355/0.3653, allocations: 0.7395 MB / 0.6676 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3656, allocations: 76.78 kB / 0.6676 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3656, allocations: 3.938 kB / 0.6676 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.3657, allocations: 24.95 kB / 0.6677 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.366, allocations: 9.078 kB / 0.6677 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3675, allocations: 1.699 MB / 0.6693 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3676, allocations: 0.7175 MB / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.955e-05/0.3677, allocations: 10.64 kB / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3677, allocations: 28.97 kB / 0.6701 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.3677, allocations: 4 kB / 0.6701 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3906, allocations: 2.41 MB / 0.6724 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.123, allocations: 3.438 kB / 0.6724 GB, free: 15.46 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)