Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001476/0.001476, allocations: 109.4 kB / 15.69 MB, free: 128 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.00165/0.00165, allocations: 191.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 65.92 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1982, allocations: 114.6 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003115/0.2014, allocations: 2.023 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.2053, allocations: 3.683 MB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.2054, allocations: 0 / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.2057, allocations: 55.56 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.206, allocations: 103.3 kB / 0.7894 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2063, allocations: 131.7 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.2066, allocations: 251 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2068, allocations: 56.36 kB / 0.7898 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.207, allocations: 107.5 kB / 0.7899 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2071, allocations: 119.5 kB / 0.79 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.2072, allocations: 16 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.2074, allocations: 119.8 kB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.2074, allocations: 47.81 kB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2075, allocations: 99.39 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.2079, allocations: 275 kB / 0.7905 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2079, allocations: 0 / 0.7905 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2079, allocations: 7.938 kB / 0.7905 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2079, allocations: 0 / 0.7905 GB, free: 6.109 MB / 0.6075 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.001085/0.209, allocations: 0.5878 MB / 0.7911 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.209, allocations: 8.031 kB / 0.7911 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.2091, allocations: 38.75 kB / 0.7911 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.2091, allocations: 28.66 kB / 0.7912 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.2095, allocations: 271.6 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2096, allocations: 12.31 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2096, allocations: 4.375 kB / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.2101, allocations: 173.5 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2101, allocations: 4 kB / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2101, allocations: 4 kB / 0.7916 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2101, allocations: 4 kB / 0.7916 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/0.2108, allocations: 191.8 kB / 0.7918 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.2115, allocations: 484.3 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.2119, allocations: 126.5 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.2122, allocations: 108.8 kB / 0.7925 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.213, allocations: 0.5532 MB / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2131, allocations: 30.56 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.896e-06/0.2131, allocations: 0 / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001154/0.2142, allocations: 361.2 kB / 0.7934 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2143, allocations: 59.34 kB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2145, allocations: 234.7 kB / 0.7937 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2145, allocations: 25.7 kB / 0.7937 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.2146, allocations: 144 kB / 0.7938 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.2147, allocations: 39.39 kB / 0.7939 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.2147, allocations: 29.7 kB / 0.7939 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2149, allocations: 330.8 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.2152, allocations: 99.91 kB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.2155, allocations: 92.34 kB / 0.7944 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.2161, allocations: 208.7 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2161, allocations: 0 / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006968/0.2168, allocations: 249.3 kB / 0.7949 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2169, allocations: 4 kB / 0.7949 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2169, allocations: 4 kB / 0.7949 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2169, allocations: 0 / 0.7949 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.2172, allocations: 47.94 kB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2172, allocations: 3.938 kB / 0.7949 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.2174, allocations: 35.86 kB / 0.7949 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2174, allocations: 4 kB / 0.7949 GB, free: 1.234 MB / 0.6075 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 (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 prepare postOptimizeDAE: time 0.0001161/0.2176, allocations: 126.4 kB / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.2176, allocations: 23.7 kB / 0.7951 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.2184, allocations: 287 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2184, allocations: 4 kB / 0.7954 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2184, allocations: 7.938 kB / 0.7954 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2185, allocations: 3.984 kB / 0.7954 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.2187, allocations: 265.5 kB / 0.7956 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2187, allocations: 0 / 0.7956 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.219, allocations: 51.88 kB / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.219, allocations: 0 / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.219, allocations: 4 kB / 0.7957 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.219, allocations: 0 / 0.7957 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2191, allocations: 3.938 kB / 0.7957 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.2198, allocations: 359 kB / 0.796 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2199, allocations: 116.7 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.22, allocations: 7.984 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.2202, allocations: 23.97 kB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.2203, allocations: 19.92 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2203, allocations: 7.984 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001259/0.2204, allocations: 166 kB / 0.7964 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2204, allocations: 3.938 kB / 0.7964 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000303/0.2207, allocations: 59.98 kB / 0.7964 GB, free: 15.63 MB / 0.6231 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.001101/0.2218, allocations: 0.919 MB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007074/0.2226, allocations: 220.2 kB / 0.7975 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2226, allocations: 0 / 0.7975 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2229, allocations: 116 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2233, allocations: 48.48 kB / 0.7977 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.2269, allocations: 2.445 MB / 0.8001 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.2272, allocations: 0.7314 MB / 0.8008 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.2273, allocations: 40.84 kB / 0.8008 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2275, allocations: 71.39 kB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2275, allocations: 3.938 kB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.2468, allocations: 4.923 MB / 0.8057 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.342, allocations: 7.938 kB / 0.8057 GB, free: 6.145 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)