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.001051/0.001051, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001027/0.001027, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 286.9 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8884/0.8884, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 95.42 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1278, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001978/0.1298, allocations: 1.314 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1309, allocations: 0.8717 MB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1309, allocations: 0 / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1309, allocations: 3.984 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.131, allocations: 0 / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1313, allocations: 125.9 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1314, allocations: 23.92 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.1314, allocations: 0 / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.1315, allocations: 24.78 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.1316, allocations: 15.94 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1316, allocations: 0.7188 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1318, allocations: 155.8 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1318, allocations: 8.609 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.1319, allocations: 11.94 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1321, allocations: 129.4 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1321, allocations: 0 / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1321, allocations: 0 / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1321, allocations: 0 / 0.6823 GB, free: 14.29 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.000419/0.1326, allocations: 356.1 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1326, allocations: 12.03 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1326, allocations: 34.73 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1327, allocations: 4.844 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1328, allocations: 172.3 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1328, allocations: 384 / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1328, allocations: 384 / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1329, allocations: 45.81 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1329, allocations: 0 / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.133, allocations: 4 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.133, allocations: 4 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.133, allocations: 27.97 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.1332, allocations: 153.7 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.1333, allocations: 42.56 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1333, allocations: 16.92 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.1335, allocations: 89.09 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1335, allocations: 38.5 kB / 0.6833 GB, free: 13.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1335, allocations: 0 / 0.6833 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001654/0.1337, allocations: 65.69 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.1337, allocations: 51.41 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.1338, allocations: 93.86 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1338, allocations: 29.64 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.1338, allocations: 80.14 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1339, allocations: 23.73 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.1339, allocations: 25.78 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.134, allocations: 314.8 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.134, allocations: 11.98 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.134, allocations: 8 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.1341, allocations: 20.86 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1341, allocations: 384 / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.794e-05/0.1342, allocations: 69.53 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1342, allocations: 6.344 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1342, allocations: 0 / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1342, allocations: 0 / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1343, allocations: 19.92 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1343, allocations: 4 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.1343, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1344, allocations: 0 / 0.6841 GB, free: 12.25 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 6.134e-05/0.1344, allocations: 115.2 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.1344, allocations: 3.938 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1346, allocations: 85.22 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1346, allocations: 0 / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1346, allocations: 0 / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1346, allocations: 7.922 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/0.1347, allocations: 165.6 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1347, allocations: 0 / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.1348, allocations: 15.94 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1348, allocations: 4 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1348, allocations: 0 / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1348, allocations: 4 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1348, allocations: 3.938 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.1349, allocations: 85.11 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.135, allocations: 84.98 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.135, allocations: 4 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.135, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.135, allocations: 7.938 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.135, allocations: 4.188 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.1351, allocations: 83.27 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 0 / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1353, allocations: 44 kB / 0.6848 GB, free: 11.45 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.0004358/0.1358, allocations: 0.6825 MB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.1359, allocations: 36.02 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1359, allocations: 0 / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.1359, allocations: 12 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.136, allocations: 14.19 kB / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.1364, allocations: 184.2 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.1366, allocations: 0.6807 MB / 0.6863 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.1366, allocations: 11.98 kB / 0.6863 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.1367, allocations: 15.42 kB / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1367, allocations: 0 / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.1474, allocations: 2.018 MB / 0.6883 GB, free: 7.844 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.1477, allocations: 216.3 kB / 0.6885 GB, free: 7.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.809, allocations: 0 / 0.6885 GB, free: 7.59 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)