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.001799/0.001799, 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.002144/0.002144, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002293/0.002293, allocations: 278.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 98.22 kB / 0.5953 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2788, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.003733/0.2826, allocations: 1.243 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.2849, allocations: 0.8722 MB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.2849, allocations: 2.031 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.285, allocations: 0 / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.2851, allocations: 3.938 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.286, allocations: 136.1 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2861, allocations: 25.64 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.2862, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2863, allocations: 15.98 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.2864, allocations: 19.91 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2865, allocations: 0.875 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.287, allocations: 167.8 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.287, allocations: 4.719 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.2871, allocations: 11.94 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.2874, allocations: 125.3 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2875, allocations: 0 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2875, allocations: 0 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2875, allocations: 0 / 0.6828 GB, free: 13.96 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.000629/0.2881, allocations: 356.2 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2882, allocations: 12.66 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.2883, allocations: 34.75 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.2883, allocations: 8.844 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2885, allocations: 168.4 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2885, allocations: 384 / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2885, allocations: 384 / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2887, allocations: 49.75 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2887, allocations: 0 / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2888, allocations: 4 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.2888, allocations: 3.984 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2889, allocations: 27.97 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.2892, allocations: 161.6 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2893, allocations: 39.14 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.2894, allocations: 12.98 kB / 0.6837 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.2896, allocations: 89.09 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2896, allocations: 38.44 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.2897, allocations: 0 / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003095/0.29, allocations: 65.69 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2901, allocations: 55.41 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2902, allocations: 97.8 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2902, allocations: 29.69 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.2903, allocations: 80.14 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.2903, allocations: 19.75 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.2904, allocations: 17.72 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2906, allocations: 318.8 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.2906, allocations: 12.12 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.2907, allocations: 8 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.904e-05/0.2908, allocations: 28.78 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2908, allocations: 0 / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/0.291, allocations: 61.92 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.291, allocations: 4 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2911, allocations: 4.047 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2911, allocations: 4 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2912, allocations: 8 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.2912, allocations: 4 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.2913, allocations: 4 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.2913, allocations: 0 / 0.6846 GB, free: 11.92 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 0.000123/0.2914, allocations: 119.1 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.2915, allocations: 3.938 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.2918, allocations: 85.22 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2918, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2918, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2918, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.2921, allocations: 165.6 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2921, allocations: 0 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.2922, allocations: 15.94 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2922, allocations: 0 / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2922, allocations: 7.938 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2922, allocations: 7.922 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2923, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.2925, allocations: 85.12 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.2925, allocations: 84.98 kB / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.2926, allocations: 4 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.2926, allocations: 0 / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.2927, allocations: 4 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2927, allocations: 7.984 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.2927, allocations: 75.28 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2928, allocations: 4.094 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.2933, allocations: 48 kB / 0.6853 GB, free: 11.12 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.0008443/0.2941, allocations: 0.6904 MB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.2943, allocations: 27.98 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2943, allocations: 0 / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.2944, allocations: 23.92 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.0002496/0.2946, allocations: 8 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.2953, allocations: 168.3 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2956, allocations: 0.6729 MB / 0.6868 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.2958, allocations: 20.22 kB / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.2958, allocations: 11.44 kB / 0.6868 GB, free: 9.402 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2958, allocations: 0 / 0.6868 GB, free: 9.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3221, allocations: 2.108 MB / 0.6889 GB, free: 7.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.36, allocations: 10.7 kB / 0.6889 GB, free: 7.379 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)