Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 110.2 kB / 18.27 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 189.9 kB / 21.43 MB, free: 0.8672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 250.1 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 128.4 MB / 433.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] 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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 71.83 kB / 0.6003 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 83.26 MB / 0.6816 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002391/0.3197, allocations: 2.063 MB / 0.6836 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003392/0.3231, allocations: 4.116 MB / 0.6876 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.3232, allocations: 2.312 kB / 0.6876 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.3239, allocations: 194.2 kB / 0.6878 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.3239, allocations: 72.03 kB / 0.6879 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3245, allocations: 260.6 kB / 0.6881 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.3249, allocations: 389.2 kB / 0.6885 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.325, allocations: 32.75 kB / 0.6885 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3251, allocations: 110.5 kB / 0.6886 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3253, allocations: 130.1 kB / 0.6887 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.3253, allocations: 15.81 kB / 0.6888 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.3257, allocations: 312.3 kB / 0.6891 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.3258, allocations: 103.7 kB / 0.6892 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.3259, allocations: 153.9 kB / 0.6893 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3263, allocations: 0.5119 MB / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3263, allocations: 0 / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3263, allocations: 0.9375 kB / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3264, allocations: 0 / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001132/0.3275, allocations: 0.7609 MB / 0.6905 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.3275, allocations: 9.75 kB / 0.6906 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.3276, allocations: 41.05 kB / 0.6906 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.3276, allocations: 40.69 kB / 0.6906 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.3281, allocations: 338 kB / 0.691 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3281, allocations: 15.41 kB / 0.691 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3281, allocations: 9.938 kB / 0.691 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3286, allocations: 189.9 kB / 0.6912 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3286, allocations: 0 / 0.6912 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3286, allocations: 5.094 kB / 0.6912 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3286, allocations: 6.125 kB / 0.6912 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.3293, allocations: 239.6 kB / 0.6914 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.3303, allocations: 0.5918 MB / 0.692 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.3307, allocations: 168.1 kB / 0.6921 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.3311, allocations: 129.3 kB / 0.6923 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.3311, allocations: 24.86 kB / 0.6923 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3311, allocations: 39.73 kB / 0.6923 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3311, allocations: 0 / 0.6923 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001203/0.3323, allocations: 446.8 kB / 0.6927 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3324, allocations: 56.7 kB / 0.6928 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.3328, allocations: 406.4 kB / 0.6932 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3328, allocations: 25.7 kB / 0.6932 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3329, allocations: 181.4 kB / 0.6934 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.333, allocations: 39.83 kB / 0.6934 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.3331, allocations: 40.19 kB / 0.6935 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3332, allocations: 353.5 kB / 0.6938 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.3336, allocations: 164.6 kB / 0.694 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.334, allocations: 171.1 kB / 0.6941 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.3347, allocations: 349.2 kB / 0.6945 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3347, allocations: 3.938 kB / 0.6945 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009187/0.3356, allocations: 475.2 kB / 0.6949 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.3357, allocations: 40.31 kB / 0.6949 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3357, allocations: 5.156 kB / 0.695 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3357, allocations: 7.938 kB / 0.695 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.336, allocations: 48.89 kB / 0.695 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.336, allocations: 1.219 kB / 0.695 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.3362, allocations: 38.06 kB / 0.695 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3362, allocations: 4.875 kB / 0.695 GB, free: 12.71 MB / 0.5137 GB 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 (12): * Single equations (assignments): 11 * 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.000144/0.3364, allocations: 156.1 kB / 0.6952 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.3365, allocations: 38.47 kB / 0.6952 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/0.3373, allocations: 342.1 kB / 0.6956 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3373, allocations: 1.5 kB / 0.6956 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3373, allocations: 3.938 kB / 0.6956 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3373, allocations: 4 kB / 0.6956 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.3377, allocations: 347 kB / 0.6959 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3377, allocations: 3.938 kB / 0.6959 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.338, allocations: 48.59 kB / 0.6959 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.338, allocations: 1.031 kB / 0.6959 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.338, allocations: 8.906 kB / 0.696 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.338, allocations: 1.469 kB / 0.696 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.338, allocations: 0 / 0.696 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.3388, allocations: 415.3 kB / 0.6964 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3389, allocations: 130.5 kB / 0.6965 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.339, allocations: 8.969 kB / 0.6965 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3392, allocations: 26.36 kB / 0.6965 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3393, allocations: 13.48 kB / 0.6965 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3393, allocations: 3.125 kB / 0.6965 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002753/0.3396, allocations: 302.8 kB / 0.6968 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 0.6968 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003926/0.34, allocations: 116.4 kB / 0.6969 GB, free: 11.39 MB / 0.5137 GB 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 (11): * Single equations (assignments): 11 * 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.001315/0.3413, allocations: 1.026 MB / 0.6979 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000892/0.3422, allocations: 465.7 kB / 0.6984 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3422, allocations: 1.312 kB / 0.6984 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.3425, allocations: 143.2 kB / 0.6985 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.343, allocations: 51 kB / 0.6986 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.3484, allocations: 4.206 MB / 0.7027 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3487, allocations: 0.7883 MB / 0.7034 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.3489, allocations: 43.08 kB / 0.7035 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3491, allocations: 101.9 kB / 0.7036 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.3491, allocations: 0 / 0.7036 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3803, allocations: 8.341 MB / 0.7117 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.792, allocations: 0 / 0.7117 GB, free: 15.3 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.725544869994337]