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.001286/0.001286, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001477/0.001477, allocations: 211.2 kB / 22.24 MB, free: 5.258 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.793 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.002492/0.002492, allocations: 294.4 kB / 312.7 MB, free: 2.594 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.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.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="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: 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.002907/0.002907, allocations: 102.3 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1573, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.00224/0.1596, allocations: 1.276 MB / 0.8339 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1609, allocations: 0.6916 MB / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.1609, allocations: 0 / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1609, allocations: 3.938 kB / 0.8345 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.161, allocations: 4 kB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.1615, allocations: 135.6 kB / 0.8347 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.1615, allocations: 27.86 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.1616, allocations: 0 / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1617, allocations: 19.97 kB / 0.8347 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.1618, allocations: 15.92 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1618, allocations: 0 / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.1622, allocations: 171.8 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.1622, allocations: 0 / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1622, allocations: 15.92 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1624, allocations: 108 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1624, allocations: 4 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1624, allocations: 0 / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1624, allocations: 3.938 kB / 0.835 GB, free: 5.863 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.0004524/0.1629, allocations: 274.1 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1629, allocations: 17.28 kB / 0.8353 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.163, allocations: 30.75 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1631, allocations: 4.938 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1632, allocations: 114.5 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1632, allocations: 384 / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1632, allocations: 4.375 kB / 0.8354 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1633, allocations: 45.81 kB / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1634, allocations: 3.938 kB / 0.8355 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1634, allocations: 4 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1634, allocations: 0 / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.1634, allocations: 23.97 kB / 0.8355 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1636, allocations: 124.8 kB / 0.8356 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1637, allocations: 42.56 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.1638, allocations: 12.98 kB / 0.8357 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.1641, allocations: 31.97 kB / 0.8357 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.1642, allocations: 38.5 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 3.336e-06/0.1642, allocations: 3.984 kB / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002235/0.1644, allocations: 61.62 kB / 0.8358 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1644, allocations: 59.39 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.1645, allocations: 93.86 kB / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1646, allocations: 29.7 kB / 0.836 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.1646, allocations: 84.27 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1646, allocations: 15.84 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1647, allocations: 21.7 kB / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1648, allocations: 314.8 kB / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.1648, allocations: 4 kB / 0.8364 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.1649, allocations: 15.92 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.1649, allocations: 28.8 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1649, allocations: 384 / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.165, allocations: 65.58 kB / 0.8365 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.165, allocations: 8 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.165, allocations: 0 / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.165, allocations: 4 kB / 0.8365 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1651, allocations: 8 kB / 0.8365 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1651, allocations: 0 / 0.8365 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1651, allocations: 0 / 0.8365 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1651, allocations: 7.984 kB / 0.8365 GB, free: 4.105 MB / 0.5762 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 8.232e-05/0.1652, allocations: 114.4 kB / 0.8367 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1652, allocations: 3.938 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.1654, allocations: 81.36 kB / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1654, allocations: 0 / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1654, allocations: 4 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1654, allocations: 0 / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1656, allocations: 136.7 kB / 0.8369 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1656, allocations: 0 / 0.8369 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.1656, allocations: 11.94 kB / 0.8369 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1656, allocations: 4 kB / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1656, allocations: 0 / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1656, allocations: 0 / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1656, allocations: 0 / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1657, allocations: 93.05 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.1657, allocations: 7.875 kB / 0.837 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1658, allocations: 8 kB / 0.837 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.1658, allocations: 4 kB / 0.837 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1658, allocations: 0 / 0.837 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.1658, allocations: 4.188 kB / 0.837 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.1658, allocations: 79.27 kB / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1658, allocations: 0 / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002403/0.1661, allocations: 35.94 kB / 0.8371 GB, free: 3.449 MB / 0.5762 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.0006282/0.1667, allocations: 0.6707 MB / 0.8378 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1668, allocations: 20.09 kB / 0.8378 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1668, allocations: 4 kB / 0.8378 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.1669, allocations: 27.86 kB / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.167, allocations: 0 / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1675, allocations: 168.5 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.542e-05/0.1675, allocations: 63.34 kB / 0.838 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.1676, allocations: 4 kB / 0.838 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.1676, allocations: 19.44 kB / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.1676, allocations: 0 / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.1971, allocations: 2.831 MB / 0.8408 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.8, allocations: 4.812 kB / 0.8408 GB, free: 15.7 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.79687318392098] Failed to read output from testmodel.py, exit status != 0: 10.908216485287994 10.931127528 10.764666353 Calling exit ...