Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 291.9 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.229/1.229, allocations: 180.9 MB / 0.5261 GB, free: 14.56 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 102.9 kB / 0.7247 GB, free: 40.31 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1518, allocations: 94.16 MB / 0.8167 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002581/0.1544, allocations: 1.263 MB / 0.8179 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1559, allocations: 0.8782 MB / 0.8188 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.1559, allocations: 0 / 0.8188 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.1559, allocations: 3.984 kB / 0.8188 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.156, allocations: 3.938 kB / 0.8188 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.1565, allocations: 139.5 kB / 0.8189 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.1565, allocations: 27.86 kB / 0.8189 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1566, allocations: 0 / 0.8189 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.1567, allocations: 19.98 kB / 0.819 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1567, allocations: 15.92 kB / 0.819 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1568, allocations: 0 / 0.819 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.1571, allocations: 163.8 kB / 0.8191 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1571, allocations: 4 kB / 0.8191 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1571, allocations: 15.92 kB / 0.8192 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1574, allocations: 123.9 kB / 0.8193 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1574, allocations: 0 / 0.8193 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1574, allocations: 0 / 0.8193 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1574, allocations: 3.938 kB / 0.8193 GB, free: 2.941 MB / 0.5606 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.0004862/0.1579, allocations: 359.1 kB / 0.8196 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1579, allocations: 12.03 kB / 0.8196 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1579, allocations: 30.75 kB / 0.8197 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.158, allocations: 0.9375 kB / 0.8197 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1581, allocations: 172.4 kB / 0.8198 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1581, allocations: 384 / 0.8198 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1581, allocations: 4.375 kB / 0.8198 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1582, allocations: 45.81 kB / 0.8199 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1583, allocations: 3.938 kB / 0.8199 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1583, allocations: 0 / 0.8199 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1583, allocations: 4 kB / 0.8199 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.1583, allocations: 23.97 kB / 0.8199 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.1586, allocations: 165.7 kB / 0.8201 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.1586, allocations: 38.56 kB / 0.8201 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.1587, allocations: 16.98 kB / 0.8201 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.1588, allocations: 81.11 kB / 0.8202 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1589, allocations: 42.48 kB / 0.8202 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1589, allocations: 0 / 0.8202 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002149/0.1591, allocations: 65.58 kB / 0.8203 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1591, allocations: 55.41 kB / 0.8203 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.1592, allocations: 97.86 kB / 0.8204 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1592, allocations: 29.7 kB / 0.8205 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1593, allocations: 84.12 kB / 0.8205 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1593, allocations: 11.89 kB / 0.8206 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1594, allocations: 21.66 kB / 0.8206 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.1595, allocations: 318.8 kB / 0.8209 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.1596, allocations: 4 kB / 0.8209 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.1596, allocations: 12.11 kB / 0.8209 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.1596, allocations: 28.8 kB / 0.8209 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1596, allocations: 4 kB / 0.8209 GB, free: 1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.1597, allocations: 57.62 kB / 0.821 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1598, allocations: 10.34 kB / 0.821 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1598, allocations: 0 / 0.821 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1598, allocations: 0 / 0.821 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.1599, allocations: 11.98 kB / 0.821 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1599, allocations: 0 / 0.821 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.1599, allocations: 3.953 kB / 0.821 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1599, allocations: 8 kB / 0.821 GB, free: 0.9062 MB / 0.5606 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.000173/0.1601, allocations: 109.8 kB / 0.8211 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1601, allocations: 7.875 kB / 0.8211 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1603, allocations: 85.59 kB / 0.8212 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1603, allocations: 3.938 kB / 0.8212 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1603, allocations: 4.062 kB / 0.8212 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1603, allocations: 4 kB / 0.8212 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1605, allocations: 157.7 kB / 0.8214 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1605, allocations: 0 / 0.8214 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.1605, allocations: 19.92 kB / 0.8214 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1605, allocations: 0 / 0.8214 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1605, allocations: 0 / 0.8214 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1605, allocations: 0 / 0.8214 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1605, allocations: 0 / 0.8214 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1607, allocations: 97.02 kB / 0.8215 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.1608, allocations: 85.03 kB / 0.8216 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1608, allocations: 4 kB / 0.8216 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.1608, allocations: 0 / 0.8216 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.1608, allocations: 0 / 0.8216 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1608, allocations: 8 kB / 0.8216 GB, free: 240 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1609, allocations: 75.28 kB / 0.8217 GB, free: 164 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1609, allocations: 4 kB / 0.8217 GB, free: 160 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003511/0.1612, allocations: 47.8 kB / 0.8217 GB, free: 112 kB / 0.5606 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.0006123/0.1618, allocations: 0.6903 MB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.162, allocations: 23.98 kB / 0.8224 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.162, allocations: 4 kB / 0.8224 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.162, allocations: 15.94 kB / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.1621, allocations: 7.938 kB / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.1626, allocations: 176.1 kB / 0.8226 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1629, allocations: 0.6807 MB / 0.8233 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.163, allocations: 7.984 kB / 0.8233 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.163, allocations: 19.44 kB / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.163, allocations: 0 / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1878, allocations: 2.144 MB / 0.8254 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.269, allocations: 7.859 kB / 0.8254 GB, free: 12.35 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.301719927228987] Failed to read output from testmodel.py, exit status != 0: 8.340798317920417 8.366200367 8.204166889 Calling exit ...