Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002467/0.002467, allocations: 277 kB / 309.8 MB, free: 3.477 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.078/1.078, allocations: 180.6 MB / 0.5338 GB, free: 12.73 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 108.4 kB / 0.7346 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5197, allocations: 95.34 MB / 0.8277 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002101/0.5218, allocations: 1.284 MB / 0.829 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.523, allocations: 0.7636 MB / 0.8297 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.5231, allocations: 0 / 0.8297 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.5231, allocations: 3.5 kB / 0.8297 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.5232, allocations: 5.016 kB / 0.8298 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.5236, allocations: 132.9 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.5237, allocations: 25.59 kB / 0.8299 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.5237, allocations: 0.75 kB / 0.8299 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.5239, allocations: 26.78 kB / 0.8299 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.5239, allocations: 16.66 kB / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.5239, allocations: 0 / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.5242, allocations: 171 kB / 0.8301 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.5242, allocations: 8.531 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.5243, allocations: 6.375 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.5245, allocations: 117.2 kB / 0.8302 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5245, allocations: 0 / 0.8302 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5245, allocations: 0 / 0.8302 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5245, allocations: 4 kB / 0.8302 GB, free: 1.434 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003569/0.5248, allocations: 350.9 kB / 0.8306 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5249, allocations: 9.656 kB / 0.8306 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.275e-05/0.5249, allocations: 4.188 kB / 0.8306 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.5249, allocations: 35.39 kB / 0.8306 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.525, allocations: 5.406 kB / 0.8306 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.5251, allocations: 170.9 kB / 0.8308 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5251, allocations: 3.062 kB / 0.8308 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.5251, allocations: 4.375 kB / 0.8308 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5252, allocations: 45.7 kB / 0.8308 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5252, allocations: 1.438 kB / 0.8308 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.5252, allocations: 0 / 0.8308 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.5252, allocations: 0 / 0.8308 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.5253, allocations: 25.23 kB / 0.8309 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.5254, allocations: 166.2 kB / 0.831 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.5255, allocations: 32.3 kB / 0.8311 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.5255, allocations: 16.48 kB / 0.8311 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.5259, allocations: 195 kB / 0.8313 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.5259, allocations: 31.12 kB / 0.8313 GB, free: 296 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.5259, allocations: 0 / 0.8313 GB, free: 296 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001658/0.526, allocations: 66.83 kB / 0.8313 GB, free: 252 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.5261, allocations: 51.41 kB / 0.8314 GB, free: 188 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.5261, allocations: 103.1 kB / 0.8315 GB, free: 80 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.5261, allocations: 25.7 kB / 0.8315 GB, free: 48 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.5262, allocations: 80.89 kB / 0.8316 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.5262, allocations: 11.7 kB / 0.8316 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5262, allocations: 20.53 kB / 0.8316 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5264, allocations: 315.9 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.5264, allocations: 6.688 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.5264, allocations: 5.688 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.5265, allocations: 31.36 kB / 0.832 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5265, allocations: 4 kB / 0.832 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.563e-05/0.5266, allocations: 67.53 kB / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5266, allocations: 4.75 kB / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5266, allocations: 0 / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5266, allocations: 2.203 kB / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.5267, allocations: 16.53 kB / 0.8321 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5267, allocations: 3.5 kB / 0.8321 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.5267, allocations: 3.938 kB / 0.8321 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.5267, allocations: 0.8438 kB / 0.8321 GB, free: 15.54 MB / 0.5919 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 (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 prepare postOptimizeDAE: time 0.0001076/0.5268, allocations: 118.7 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.5268, allocations: 6.891 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.527, allocations: 79.11 kB / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.527, allocations: 0 / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.527, allocations: 0 / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.527, allocations: 0.5625 kB / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.5271, allocations: 161.5 kB / 0.8324 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.5271, allocations: 9.938 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.5272, allocations: 15.16 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5272, allocations: 0 / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.5272, allocations: 0.6562 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5272, allocations: 2.281 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5272, allocations: 0.7031 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.5273, allocations: 90.42 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.5274, allocations: 85.72 kB / 0.8326 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.5274, allocations: 0.5625 kB / 0.8326 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.5274, allocations: 4 kB / 0.8326 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.5274, allocations: 4.656 kB / 0.8326 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.5274, allocations: 4.5 kB / 0.8326 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.5275, allocations: 83.88 kB / 0.8327 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.5275, allocations: 0 / 0.8327 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002436/0.5277, allocations: 35.61 kB / 0.8327 GB, free: 14.88 MB / 0.5919 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.0005631/0.5283, allocations: 0.6696 MB / 0.8334 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.5284, allocations: 25.62 kB / 0.8334 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5284, allocations: 0 / 0.8334 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.5284, allocations: 15.66 kB / 0.8334 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.5285, allocations: 9.375 kB / 0.8334 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.529, allocations: 164.4 kB / 0.8336 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5293, allocations: 0.683 MB / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.5293, allocations: 10.59 kB / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.5293, allocations: 14.86 kB / 0.8343 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5293, allocations: 0 / 0.8343 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.5494, allocations: 2.38 MB / 0.8366 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.548, allocations: 13.72 kB / 0.8366 GB, free: 12.93 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.56680500303628] Failed to read output from testmodel.py, exit status != 0: 8.673038257984444 8.697202458 8.168476618 Calling exit ...