Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001609/0.001608, allocations: 107 kB / 15.99 MB, free: 6.348 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.001709/0.001709, allocations: 195 kB / 16.91 MB, free: 6.18 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8113/0.8113, allocations: 126.7 MB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001931, allocations: 67.89 kB / 0.4954 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 78.86 MB / 0.5724 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002558/0.2851, allocations: 2.203 MB / 0.5745 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.2886, allocations: 4.038 MB / 0.5785 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.2887, allocations: 1.594 kB / 0.5785 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.2893, allocations: 169.7 kB / 0.5786 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2894, allocations: 72.58 kB / 0.5787 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.2899, allocations: 259.8 kB / 0.5789 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.2904, allocations: 442.4 kB / 0.5794 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2905, allocations: 59.34 kB / 0.5794 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2906, allocations: 137 kB / 0.5796 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2908, allocations: 161.2 kB / 0.5797 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.2908, allocations: 21.72 kB / 0.5797 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.2912, allocations: 316.4 kB / 0.58 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.2913, allocations: 116.3 kB / 0.5801 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2914, allocations: 173.2 kB / 0.5803 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.2918, allocations: 0.5566 MB / 0.5809 GB, free: 25.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2919, allocations: 0.8438 kB / 0.5809 GB, free: 25.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2919, allocations: 0.9062 kB / 0.5809 GB, free: 25.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2919, allocations: 1.625 kB / 0.5809 GB, free: 25.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001135/0.293, allocations: 0.795 MB / 0.5816 GB, free: 24.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.293, allocations: 14.59 kB / 0.5816 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2931, allocations: 42.2 kB / 0.5817 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.2939, allocations: 179.3 kB / 0.5819 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.2946, allocations: 396.8 kB / 0.5822 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2946, allocations: 8.562 kB / 0.5822 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2946, allocations: 14.25 kB / 0.5823 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.2952, allocations: 248.2 kB / 0.5825 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2953, allocations: 1.969 kB / 0.5825 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.2953, allocations: 5.25 kB / 0.5825 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2953, allocations: 5.875 kB / 0.5825 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.2962, allocations: 327.5 kB / 0.5828 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2973, allocations: 0.6791 MB / 0.5835 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.2978, allocations: 226.9 kB / 0.5837 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.2983, allocations: 180.4 kB / 0.5839 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.2983, allocations: 16.39 kB / 0.5839 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2983, allocations: 37.41 kB / 0.5839 GB, free: 23.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2983, allocations: 0 / 0.5839 GB, free: 23.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001518/0.2999, allocations: 0.5665 MB / 0.5845 GB, free: 22.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.2999, allocations: 58.56 kB / 0.5845 GB, free: 22.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.3002, allocations: 434.4 kB / 0.5849 GB, free: 22.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3002, allocations: 31.11 kB / 0.585 GB, free: 22.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.3003, allocations: 187.6 kB / 0.5852 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3004, allocations: 44.66 kB / 0.5852 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.3005, allocations: 58.03 kB / 0.5853 GB, free: 22.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.3005, allocations: 349.9 kB / 0.5856 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.3011, allocations: 294 kB / 0.5859 GB, free: 21.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.3016, allocations: 293.6 kB / 0.5861 GB, free: 21.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.3026, allocations: 0.5078 MB / 0.5866 GB, free: 21.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3026, allocations: 1.125 kB / 0.5866 GB, free: 21.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001215/0.3039, allocations: 0.7184 MB / 0.5873 GB, free: 21.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3039, allocations: 46.81 kB / 0.5874 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3039, allocations: 3.938 kB / 0.5874 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3039, allocations: 4.922 kB / 0.5874 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.3043, allocations: 68.17 kB / 0.5875 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3044, allocations: 0.9688 kB / 0.5875 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3047, allocations: 57.02 kB / 0.5875 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3047, allocations: 8.609 kB / 0.5875 GB, free: 21 MB / 446.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001215/0.3049, allocations: 158.3 kB / 0.5877 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3049, allocations: 35.34 kB / 0.5877 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.306, allocations: 442.4 kB / 0.5881 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.306, allocations: 6.312 kB / 0.5881 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.306, allocations: 0 / 0.5881 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.306, allocations: 3.938 kB / 0.5881 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.3063, allocations: 365.6 kB / 0.5885 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3064, allocations: 1.156 kB / 0.5885 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3067, allocations: 64.86 kB / 0.5886 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3067, allocations: 1.094 kB / 0.5886 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3068, allocations: 9.141 kB / 0.5886 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3068, allocations: 5.094 kB / 0.5886 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3068, allocations: 0 / 0.5886 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.3078, allocations: 0.4949 MB / 0.5891 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.3079, allocations: 139.8 kB / 0.5892 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.3079, allocations: 1 kB / 0.5892 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3083, allocations: 40.62 kB / 0.5892 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3083, allocations: 21.09 kB / 0.5892 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3084, allocations: 3.781 kB / 0.5892 GB, free: 19.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.3086, allocations: 306.5 kB / 0.5895 GB, free: 19.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3086, allocations: 0 / 0.5895 GB, free: 19.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.3091, allocations: 135.6 kB / 0.5897 GB, free: 19.54 MB / 446.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 (13): * Single equations (assignments): 13 * 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.00133/0.3104, allocations: 1.108 MB / 0.5908 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3116, allocations: 0.6877 MB / 0.5914 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.3116, allocations: 0 / 0.5914 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.3121, allocations: 190.7 kB / 0.5916 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3125, allocations: 65.8 kB / 0.5917 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.318, allocations: 5.325 MB / 0.5969 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3181, allocations: 0.7905 MB / 0.5976 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3184, allocations: 61.91 kB / 0.5977 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3186, allocations: 119.4 kB / 0.5978 GB, free: 11.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3186, allocations: 0 / 0.5978 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/0.7545, allocations: 8.674 MB / 0.6063 GB, free: 3.184 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7548, allocations: 223.7 kB / 0.6065 GB, free: 2.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/3.959, allocations: 0 / 0.6065 GB, free: 2.93 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)