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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005153/0.005153, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001638/0.001638, allocations: 267.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9034/0.9034, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 16.66 kB / 0.5988 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 88.54 MB / 0.6852 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001082/0.1356, allocations: 0.9843 MB / 0.6862 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1367, allocations: 0.8665 MB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1368, allocations: 0 / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1368, allocations: 0 / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.1368, allocations: 9.688 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1371, allocations: 103.7 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.1372, allocations: 24.89 kB / 0.6872 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.1372, allocations: 0 / 0.6872 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.1373, allocations: 18.06 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.1373, allocations: 15.94 kB / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1374, allocations: 0 / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.1376, allocations: 163.8 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.1376, allocations: 7.984 kB / 0.6874 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1377, allocations: 35.98 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1378, allocations: 128 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1379, allocations: 0 / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1379, allocations: 0 / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1379, allocations: 0 / 0.6875 GB, free: 12.66 MB / 494.1 MB 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.0003084/0.1382, allocations: 348 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1382, allocations: 9.312 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1383, allocations: 38.69 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.1383, allocations: 8.844 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.1384, allocations: 165.8 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1384, allocations: 4.375 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.1384, allocations: 384 / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.1385, allocations: 50.56 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1385, allocations: 3.984 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1385, allocations: 2.875 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1385, allocations: 3.938 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.1386, allocations: 27.97 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.1387, allocations: 157.7 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.1388, allocations: 30.64 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.1388, allocations: 24.91 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1389, allocations: 90.75 kB / 0.6884 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.139, allocations: 34.5 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.139, allocations: 0.5312 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001488/0.1391, allocations: 73.61 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1392, allocations: 53.12 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.1392, allocations: 93.86 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1392, allocations: 26.42 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.1393, allocations: 80.14 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1393, allocations: 20.62 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1393, allocations: 13.7 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.1394, allocations: 315.5 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.1394, allocations: 5.438 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.1395, allocations: 12 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.1395, allocations: 32.78 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1395, allocations: 0.625 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.875e-05/0.1396, allocations: 65.53 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.1396, allocations: 8.125 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1396, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.1397, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.1397, allocations: 8 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1397, allocations: 0 / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.1398, allocations: 0 / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1398, allocations: 4.438 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB 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 5.986e-05/0.1398, allocations: 115.1 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1399, allocations: 7.938 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.14, allocations: 89.16 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.14, allocations: 4 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.14, allocations: 0 / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.14, allocations: 0 / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.1401, allocations: 165.5 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1402, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1402, allocations: 19.92 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1402, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1402, allocations: 4 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1402, allocations: 0 / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1402, allocations: 3.938 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1403, allocations: 85.06 kB / 0.6897 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.1404, allocations: 85.05 kB / 0.6898 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.1404, allocations: 0 / 0.6898 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.1404, allocations: 0 / 0.6898 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1404, allocations: 15.98 kB / 0.6898 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1405, allocations: 0 / 0.6898 GB, free: 9.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.1405, allocations: 79.28 kB / 0.6899 GB, free: 9.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1405, allocations: 0 / 0.6899 GB, free: 9.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1407, allocations: 47.92 kB / 0.6899 GB, free: 9.836 MB / 494.1 MB 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.0004337/0.1412, allocations: 0.6865 MB / 0.6906 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.1412, allocations: 27.98 kB / 0.6906 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1413, allocations: 0 / 0.6906 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.1413, allocations: 23.92 kB / 0.6906 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1414, allocations: 2.109 kB / 0.6907 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1418, allocations: 190.6 kB / 0.6908 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.1419, allocations: 0.6809 MB / 0.6915 GB, free: 8.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.142, allocations: 8 kB / 0.6915 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.142, allocations: 15.44 kB / 0.6915 GB, free: 8.109 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.142, allocations: 0 / 0.6915 GB, free: 8.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1522, allocations: 1.933 MB / 0.6934 GB, free: 6.324 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1524, allocations: 218.7 kB / 0.6936 GB, free: 6.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.647, allocations: 64 / 0.6936 GB, free: 6.07 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)