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.006634/0.006634, allocations: 101.2 kB / 15.73 MB, free: 6.496 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.001733/0.001733, allocations: 199.2 kB / 16.68 MB, free: 6.375 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8979/0.8979, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 67.89 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3642, allocations: 81.02 MB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff): time 0.002105/0.3663, allocations: 1.681 MB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3675, allocations: 1.034 MB / 0.6675 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.3676, allocations: 15.03 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3677, allocations: 11.81 kB / 0.6676 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.3679, allocations: 68.73 kB / 0.6676 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.3681, allocations: 111.9 kB / 0.6677 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3683, allocations: 156.8 kB / 0.6679 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.3684, allocations: 43.36 kB / 0.6679 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3686, allocations: 85.11 kB / 0.668 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.3687, allocations: 50.12 kB / 0.6681 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3687, allocations: 5 kB / 0.6681 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3688, allocations: 99.33 kB / 0.6682 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.3689, allocations: 22.36 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.3689, allocations: 53.17 kB / 0.6682 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3691, allocations: 165 kB / 0.6684 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3691, allocations: 0 / 0.6684 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3691, allocations: 1.188 kB / 0.6684 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3691, allocations: 3.938 kB / 0.6684 GB, free: 4.164 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.0004553/0.3696, allocations: 455.9 kB / 0.6688 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3696, allocations: 10.09 kB / 0.6688 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.3696, allocations: 41.27 kB / 0.6689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3697, allocations: 15.78 kB / 0.6689 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3699, allocations: 226.8 kB / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3699, allocations: 7.719 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3699, allocations: 9.406 kB / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3701, allocations: 90.64 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3701, allocations: 0 / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3701, allocations: 1.344 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3701, allocations: 1.406 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.3704, allocations: 75.88 kB / 0.6693 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.3708, allocations: 382.6 kB / 0.6696 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.371, allocations: 58.89 kB / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.3711, allocations: 29.75 kB / 0.6697 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.3714, allocations: 0.5664 MB / 0.6703 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3714, allocations: 32.16 kB / 0.6703 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3714, allocations: 0 / 0.6703 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003599/0.3718, allocations: 123.5 kB / 0.6704 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/0.3718, allocations: 52.94 kB / 0.6705 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.372, allocations: 200.6 kB / 0.6707 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.372, allocations: 25.7 kB / 0.6707 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.372, allocations: 119 kB / 0.6708 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.372, allocations: 20.94 kB / 0.6708 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3721, allocations: 30.97 kB / 0.6709 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.3721, allocations: 325.5 kB / 0.6712 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.3722, allocations: 27.39 kB / 0.6712 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3723, allocations: 69.08 kB / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3725, allocations: 103 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3725, allocations: 1.312 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002585/0.3728, allocations: 132 kB / 0.6715 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3728, allocations: 5.062 kB / 0.6715 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3728, allocations: 6.344 kB / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3729, allocations: 5.391 kB / 0.6715 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.373, allocations: 29.7 kB / 0.6715 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.373, allocations: 6.766 kB / 0.6715 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.3731, allocations: 19.78 kB / 0.6716 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3731, allocations: 7.484 kB / 0.6716 GB, free: 1.055 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 5.825e-05/0.3732, allocations: 124.2 kB / 0.6717 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3732, allocations: 18.78 kB / 0.6717 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.3735, allocations: 123.4 kB / 0.6718 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3735, allocations: 0 / 0.6718 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3735, allocations: 1.5 kB / 0.6718 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3735, allocations: 0 / 0.6718 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3737, allocations: 204 kB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3737, allocations: 3.938 kB / 0.672 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.3738, allocations: 14.02 kB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3738, allocations: 1.125 kB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3738, allocations: 0 / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3738, allocations: 5.594 kB / 0.672 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3738, allocations: 3.984 kB / 0.672 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.374, allocations: 194.5 kB / 0.6722 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.3741, allocations: 103.9 kB / 0.6723 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3741, allocations: 5.172 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.3742, allocations: 7.469 kB / 0.6723 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.3742, allocations: 10.33 kB / 0.6724 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3743, allocations: 2.406 kB / 0.6724 GB, free: 300 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.3743, allocations: 146.1 kB / 0.6725 GB, free: 192 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3743, allocations: 0 / 0.6725 GB, free: 192 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.3746, allocations: 24.75 kB / 0.6725 GB, free: 184 kB / 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.0005868/0.3752, allocations: 0.7433 MB / 0.6732 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3755, allocations: 68.95 kB / 0.6733 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3755, allocations: 0 / 0.6733 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.3756, allocations: 33.81 kB / 0.6733 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3758, allocations: 12.27 kB / 0.6734 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3777, allocations: 1.7 MB / 0.675 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3781, allocations: 0.7121 MB / 0.6757 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.955e-05/0.3782, allocations: 15.23 kB / 0.6757 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.3783, allocations: 34.08 kB / 0.6758 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3783, allocations: 0 / 0.6758 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2343/0.6125, allocations: 2.407 MB / 0.6781 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.736, allocations: 12.59 kB / 0.6781 GB, free: 11.94 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe 2>&1)