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.0009165/0.0009165, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001047/0.001047, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001353/0.001353, allocations: 242.5 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6469/0.6469, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.6462 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.128e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001557/0.001578, allocations: 1.279 MB / 0.6475 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2237/0.2252, allocations: 0.69 MB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.2253, allocations: 0 / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2253, allocations: 1.266 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.2254, allocations: 8.25 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2258, allocations: 129.3 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.2258, allocations: 26.2 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.2259, allocations: 3.797 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2261, allocations: 28.64 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.2261, allocations: 16.23 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2261, allocations: 0.9062 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.2264, allocations: 157.9 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.2264, allocations: 4.781 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.2264, allocations: 7.922 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2266, allocations: 146.2 kB / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2266, allocations: 0.6875 kB / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2266, allocations: 0 / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2266, allocations: 0.5 kB / 0.6487 GB, free: 55.86 MB / 0.5573 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.0002991/0.2269, allocations: 271.5 kB / 0.6489 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.227, allocations: 12.78 kB / 0.649 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.417e-05/0.227, allocations: 34.62 kB / 0.649 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.2271, allocations: 9.031 kB / 0.649 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.2271, allocations: 108 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2272, allocations: 2.156 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2272, allocations: 2.062 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.488e-05/0.2273, allocations: 45.92 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2273, allocations: 1.156 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2273, allocations: 384 / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2273, allocations: 6.359 kB / 0.6492 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.2273, allocations: 22.36 kB / 0.6492 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.2274, allocations: 130.1 kB / 0.6493 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.2275, allocations: 38.17 kB / 0.6493 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.2275, allocations: 11.97 kB / 0.6493 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.2278, allocations: 34.66 kB / 0.6494 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2278, allocations: 34.22 kB / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.2278, allocations: 0 / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0001643/0.228, allocations: 69.94 kB / 0.6495 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.228, allocations: 53.77 kB / 0.6495 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.088e-05/0.228, allocations: 97.17 kB / 0.6496 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.228, allocations: 28.78 kB / 0.6496 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.228, allocations: 80.77 kB / 0.6497 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.2281, allocations: 21.84 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2281, allocations: 18.97 kB / 0.6498 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.2281, allocations: 316 kB / 0.6501 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.2282, allocations: 9.703 kB / 0.6501 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.2282, allocations: 7.266 kB / 0.6501 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.2282, allocations: 29.52 kB / 0.6501 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2282, allocations: 1.375 kB / 0.6501 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.504e-05/0.2283, allocations: 55.42 kB / 0.6502 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2283, allocations: 6.734 kB / 0.6502 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2283, allocations: 3.844 kB / 0.6502 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2283, allocations: 8.312 kB / 0.6502 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.2284, allocations: 13.09 kB / 0.6502 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2284, allocations: 0.6875 kB / 0.6502 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.2284, allocations: 1.969 kB / 0.6502 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2284, allocations: 2.438 kB / 0.6502 GB, free: 54.47 MB / 0.5573 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 3.757e-05/0.2285, allocations: 110.5 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.2285, allocations: 1.438 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2286, allocations: 89.72 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.2286, allocations: 5.484 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2286, allocations: 0.9375 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2286, allocations: 1.375 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.728e-05/0.2287, allocations: 133.5 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2287, allocations: 0 / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.2287, allocations: 12.64 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2287, allocations: 0 / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2287, allocations: 1.953 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2287, allocations: 4.75 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2287, allocations: 4.734 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.2288, allocations: 86.41 kB / 0.6506 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.2288, allocations: 6.281 kB / 0.6506 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.2288, allocations: 6.062 kB / 0.6506 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.2288, allocations: 5.75 kB / 0.6506 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.2288, allocations: 5.031 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2289, allocations: 3.656 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.493e-05/0.2289, allocations: 79 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2289, allocations: 0.5 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002181/0.2291, allocations: 38.66 kB / 0.6508 GB, free: 54 MB / 0.5573 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.0003188/0.2294, allocations: 0.6628 MB / 0.6514 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2295, allocations: 26.08 kB / 0.6514 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2295, allocations: 3.781 kB / 0.6514 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.2295, allocations: 16.22 kB / 0.6515 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.2296, allocations: 11.3 kB / 0.6515 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.23, allocations: 161.1 kB / 0.6516 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.23, allocations: 63.92 kB / 0.6517 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.23, allocations: 9.25 kB / 0.6517 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.2301, allocations: 19.11 kB / 0.6517 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2301, allocations: 4.812 kB / 0.6517 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.2449, allocations: 2.97 MB / 0.6546 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.736, allocations: 9.656 kB / 0.6546 GB, free: 52.33 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.209803719073534] Failed to read output from testmodel.py, exit status != 0: 6.813459285534918 6.825224399 6.596762748 Calling exit ...