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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001181/0.001181, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 287.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8796/0.8796, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 91.69 kB / 0.5946 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001969/0.1341, allocations: 1.318 MB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1352, allocations: 0.8985 MB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1352, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1353, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.1353, allocations: 3.984 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1356, allocations: 103.7 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.1357, allocations: 27.86 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.1357, allocations: 7.984 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.1358, allocations: 7.984 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.1358, allocations: 15.94 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1358, allocations: 0 / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.1361, allocations: 167.8 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.1361, allocations: 8 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.1361, allocations: 11.92 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1363, allocations: 120 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1363, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1363, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1363, allocations: 0 / 0.6821 GB, free: 14.41 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.0003239/0.1367, allocations: 357.4 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1367, allocations: 12.03 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1367, allocations: 38.73 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1368, allocations: 4.844 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.544e-05/0.1369, allocations: 168.3 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1369, allocations: 384 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.1369, allocations: 384 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.137, allocations: 45.81 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.137, allocations: 0 / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.137, allocations: 8 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.137, allocations: 0 / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.1371, allocations: 23.97 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1372, allocations: 161.7 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.409e-05/0.1373, allocations: 42.5 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.1373, allocations: 12.98 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1374, allocations: 97.02 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1375, allocations: 34.5 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1375, allocations: 0 / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001482/0.1376, allocations: 65.62 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1377, allocations: 59.34 kB / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.1377, allocations: 101.9 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1377, allocations: 25.7 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.1378, allocations: 80.14 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1378, allocations: 19.73 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1378, allocations: 17.72 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.1379, allocations: 310.8 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.138, allocations: 20.11 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.138, allocations: 4 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.138, allocations: 25.23 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.138, allocations: 0 / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.333e-05/0.1381, allocations: 73.47 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1381, allocations: 4 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1382, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.1382, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.1382, allocations: 11.98 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1382, allocations: 4 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.1383, allocations: 4 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1383, allocations: 0 / 0.6839 GB, free: 12.37 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.316e-05/0.1383, allocations: 111.2 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.1384, allocations: 7.938 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.1385, allocations: 85.16 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1385, allocations: 4 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1386, allocations: 3.984 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1386, allocations: 0 / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.1387, allocations: 161.6 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1387, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.1387, allocations: 11.94 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1387, allocations: 4 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1387, allocations: 3.984 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1387, allocations: 0 / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1387, allocations: 0 / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1389, allocations: 97.05 kB / 0.6844 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.1389, allocations: 84.98 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1389, allocations: 0 / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.1389, allocations: 0 / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.1389, allocations: 4.188 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.139, allocations: 12 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.139, allocations: 79.27 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.139, allocations: 4.094 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1392, allocations: 47.94 kB / 0.6846 GB, free: 11.56 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.0004254/0.1397, allocations: 0.6864 MB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.244e-05/0.1397, allocations: 27.92 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1398, allocations: 0 / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.1398, allocations: 20 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1399, allocations: 4 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.1403, allocations: 181.9 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1405, allocations: 0.6809 MB / 0.6861 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.1405, allocations: 8 kB / 0.6861 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.1405, allocations: 19.42 kB / 0.6862 GB, free: 9.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1406, allocations: 0 / 0.6862 GB, free: 9.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.1508, allocations: 1.989 MB / 0.6881 GB, free: 7.973 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.151, allocations: 209.4 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.665, allocations: 3.375 kB / 0.6883 GB, free: 7.723 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)