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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 290.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8858/0.8858, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 94.5 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1395, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002162/0.1417, allocations: 1.243 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1428, allocations: 0.8691 MB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.1429, allocations: 4 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.1429, allocations: 3.984 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.399e-05/0.143, allocations: 7.938 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1434, allocations: 131.5 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.1435, allocations: 27.92 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1435, allocations: 0 / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.1436, allocations: 15.98 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.1437, allocations: 15.92 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1437, allocations: 4 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.1439, allocations: 167.8 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.144, allocations: 0 / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.144, allocations: 11.92 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1442, allocations: 128 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1442, allocations: 0 / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1442, allocations: 0 / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1442, allocations: 0 / 0.6828 GB, free: 13.95 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.0003525/0.1446, allocations: 359.4 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1446, allocations: 8.031 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1447, allocations: 38.75 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.1447, allocations: 4.844 kB / 0.6832 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.1448, allocations: 164.4 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1448, allocations: 4.375 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1448, allocations: 4.375 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.1449, allocations: 49.75 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.1449, allocations: 0 / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.1449, allocations: 0 / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1449, allocations: 4 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.145, allocations: 27.97 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1451, allocations: 157.7 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.1452, allocations: 31.16 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.1452, allocations: 20.97 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.1454, allocations: 89.05 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1454, allocations: 42.44 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1454, allocations: 0 / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002015/0.1456, allocations: 65.67 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.1456, allocations: 51.41 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.1457, allocations: 97.86 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1457, allocations: 25.7 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1457, allocations: 80.14 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1458, allocations: 19.73 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1458, allocations: 25.83 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.1459, allocations: 322.8 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.1459, allocations: 4 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.146, allocations: 19.92 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.146, allocations: 20.86 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.146, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000105/0.1461, allocations: 65.97 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1462, allocations: 9.875 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1462, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1462, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.1463, allocations: 12 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1463, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.1463, allocations: 3.984 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1463, allocations: 7.938 kB / 0.6846 GB, free: 11.9 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.247e-05/0.1464, allocations: 111.2 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1464, allocations: 7.938 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1466, allocations: 77.23 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1466, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1466, allocations: 4 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1466, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.1467, allocations: 161.6 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1467, allocations: 0 / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.1468, allocations: 19.86 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1468, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1468, allocations: 4 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1468, allocations: 4 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1468, allocations: 4 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1469, allocations: 85.05 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.147, allocations: 88.98 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.147, allocations: 0 / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.147, allocations: 7.984 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.147, allocations: 4 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.147, allocations: 0 / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.189e-05/0.1471, allocations: 83.28 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1471, allocations: 0 / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1473, allocations: 47.98 kB / 0.6853 GB, free: 11.11 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.0004687/0.1478, allocations: 0.6865 MB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1479, allocations: 32.03 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1479, allocations: 0 / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.148, allocations: 19.98 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1481, allocations: 7.938 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.1485, allocations: 168.3 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1487, allocations: 0.6807 MB / 0.6868 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.1487, allocations: 12.23 kB / 0.6868 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1487, allocations: 15.38 kB / 0.6868 GB, free: 9.391 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1488, allocations: 0 / 0.6868 GB, free: 9.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2484/0.3972, allocations: 2.103 MB / 0.6889 GB, free: 7.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.475, allocations: 10.83 kB / 0.6889 GB, free: 7.375 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)