Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001496/0.001496, 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.00129/0.00129, allocations: 187.7 kB / 16.62 MB, free: 6.582 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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.644/1.644, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001383/0.001383, allocations: 72.14 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2084, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003212/0.2117, allocations: 1.602 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2132, allocations: 0.9482 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.2133, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2136, allocations: 59.64 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.2141, allocations: 151.3 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.519e-05/0.2141, allocations: 7.984 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.2146, allocations: 366.2 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.2147, allocations: 48.72 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2149, allocations: 135.4 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2151, allocations: 147.3 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.2152, allocations: 20 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.2182, allocations: 0.5591 MB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.2183, allocations: 51.7 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.2185, allocations: 139.2 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.2325, allocations: 13.23 MB / 0.8006 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2325, allocations: 0 / 0.8006 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2326, allocations: 4 kB / 0.8007 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2326, allocations: 0 / 0.8007 GB, free: 11.73 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001387/0.234, allocations: 0.6459 MB / 0.8013 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.234, allocations: 12.03 kB / 0.8013 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2341, allocations: 34.69 kB / 0.8013 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.2341, allocations: 28.56 kB / 0.8014 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.2346, allocations: 386.2 kB / 0.8017 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2346, allocations: 4.375 kB / 0.8017 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2347, allocations: 4.375 kB / 0.8017 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2348, allocations: 101.1 kB / 0.8018 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2348, allocations: 0 / 0.8018 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2349, allocations: 0 / 0.8018 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2349, allocations: 4 kB / 0.8018 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.235, allocations: 75.86 kB / 0.8019 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2353, allocations: 336.1 kB / 0.8022 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2355, allocations: 106.4 kB / 0.8023 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.2356, allocations: 67.39 kB / 0.8024 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2356, allocations: 3.984 kB / 0.8024 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2356, allocations: 38.5 kB / 0.8024 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.2356, allocations: 0 / 0.8024 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0003269/0.2359, allocations: 189 kB / 0.8026 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.236, allocations: 136.5 kB / 0.8027 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2365, allocations: 0.4898 MB / 0.8032 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2366, allocations: 33.7 kB / 0.8033 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2367, allocations: 160.3 kB / 0.8034 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2367, allocations: 11.75 kB / 0.8034 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.2368, allocations: 50.19 kB / 0.8035 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2369, allocations: 350.8 kB / 0.8038 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2371, allocations: 99.92 kB / 0.8039 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2372, allocations: 158.7 kB / 0.804 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2375, allocations: 243.2 kB / 0.8043 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2375, allocations: 0 / 0.8043 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003756/0.2379, allocations: 297 kB / 0.8046 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2379, allocations: 4 kB / 0.8046 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2379, allocations: 4 kB / 0.8046 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.238, allocations: 0 / 0.8046 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2381, allocations: 15.98 kB / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.2381, allocations: 7.984 kB / 0.8046 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2383, allocations: 27.77 kB / 0.8046 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2383, allocations: 7.938 kB / 0.8046 GB, free: 7.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001476/0.2385, allocations: 177.8 kB / 0.8048 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.2385, allocations: 35.56 kB / 0.8048 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.2388, allocations: 183.9 kB / 0.805 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2388, allocations: 11.98 kB / 0.805 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2389, allocations: 0 / 0.805 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2389, allocations: 0 / 0.805 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2391, allocations: 297.5 kB / 0.8053 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2391, allocations: 0 / 0.8053 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.2392, allocations: 15.94 kB / 0.8053 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2392, allocations: 4 kB / 0.8053 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2393, allocations: 7.984 kB / 0.8053 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2393, allocations: 0 / 0.8053 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2393, allocations: 4 kB / 0.8053 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.2395, allocations: 191.1 kB / 0.8055 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2396, allocations: 132.7 kB / 0.8056 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.2397, allocations: 3.984 kB / 0.8056 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2398, allocations: 11.98 kB / 0.8057 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.2399, allocations: 4 kB / 0.8057 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2399, allocations: 0 / 0.8057 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003807/0.2402, allocations: 383 kB / 0.806 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2403, allocations: 4 kB / 0.806 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004495/0.2407, allocations: 100 kB / 0.8061 GB, free: 5.672 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.004683/0.2454, allocations: 3.442 MB / 0.8095 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.2458, allocations: 167.8 kB / 0.8096 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2459, allocations: 4 kB / 0.8096 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.2459, allocations: 51.91 kB / 0.8097 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.2464, allocations: 57.41 kB / 0.8097 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.2505, allocations: 3.473 MB / 0.8131 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2509, allocations: 0.8182 MB / 0.8139 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.251, allocations: 46.3 kB / 0.814 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2512, allocations: 83.39 kB / 0.8141 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.2512, allocations: 0 / 0.8141 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.2776, allocations: 10.67 MB / 0.8245 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.259, allocations: 1.25 kB / 0.8245 GB, free: 2.863 MB / 0.6387 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)