Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.0009115/0.0009116, allocations: 98.5 kB / 16.02 MB, free: 80 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.0009298/0.00093, allocations: 178.9 kB / 16.92 MB, free: 6.918 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6303/0.6303, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 12.81 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.54 MB / 0.5601 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001623/0.1189, allocations: 1.341 MB / 0.5614 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1203, allocations: 1.12 MB / 0.5625 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.1203, allocations: 3.938 kB / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1205, allocations: 23.91 kB / 0.5625 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1207, allocations: 51.84 kB / 0.5625 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.121, allocations: 122.8 kB / 0.5626 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1212, allocations: 209.7 kB / 0.5628 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.1213, allocations: 24.2 kB / 0.5629 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.1214, allocations: 67.83 kB / 0.5629 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1216, allocations: 87.64 kB / 0.563 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1216, allocations: 12 kB / 0.563 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1217, allocations: 75.97 kB / 0.5631 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.1218, allocations: 67.81 kB / 0.5632 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.1219, allocations: 121.1 kB / 0.5633 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.1222, allocations: 267.3 kB / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1222, allocations: 0 / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1222, allocations: 0 / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1222, allocations: 0 / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000593/0.1228, allocations: 499.5 kB / 0.564 GB, free: 4.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1228, allocations: 8.031 kB / 0.564 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.1229, allocations: 50.73 kB / 0.5641 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.123, allocations: 24.66 kB / 0.5641 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1232, allocations: 267.7 kB / 0.5644 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1232, allocations: 12.38 kB / 0.5644 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1232, allocations: 16.38 kB / 0.5644 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1236, allocations: 220.7 kB / 0.5646 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1236, allocations: 0 / 0.5646 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.1236, allocations: 4 kB / 0.5646 GB, free: 4.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1236, allocations: 4 kB / 0.5646 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.1244, allocations: 0.7412 MB / 0.5653 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.1251, allocations: 0.5627 MB / 0.5659 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.1255, allocations: 307.5 kB / 0.5662 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.1257, allocations: 105.4 kB / 0.5663 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1257, allocations: 20.23 kB / 0.5663 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.126, allocations: 176.9 kB / 0.5665 GB, free: 2.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.452e-06/0.126, allocations: 0 / 0.5665 GB, free: 2.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005769/0.1266, allocations: 365.1 kB / 0.5668 GB, free: 1.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1267, allocations: 140.5 kB / 0.5669 GB, free: 1.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1269, allocations: 297.8 kB / 0.5672 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.127, allocations: 37.7 kB / 0.5673 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.127, allocations: 124.7 kB / 0.5674 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.1271, allocations: 110.4 kB / 0.5675 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1272, allocations: 29.7 kB / 0.5675 GB, free: 1.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1273, allocations: 338.8 kB / 0.5678 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1274, allocations: 79.95 kB / 0.5679 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1276, allocations: 123.4 kB / 0.568 GB, free: 496 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.1279, allocations: 214.7 kB / 0.5682 GB, free: 280 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1279, allocations: 4 kB / 0.5682 GB, free: 276 kB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003868/0.1283, allocations: 275 kB / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1283, allocations: 5.875 kB / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1283, allocations: 0 / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1283, allocations: 4 kB / 0.5685 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1285, allocations: 59.86 kB / 0.5686 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1285, allocations: 4 kB / 0.5686 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1287, allocations: 43.61 kB / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1287, allocations: 15.98 kB / 0.5686 GB, free: 15.87 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001328/0.1289, allocations: 161.8 kB / 0.5688 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1289, allocations: 23.72 kB / 0.5688 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.1295, allocations: 376.5 kB / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1295, allocations: 4 kB / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1295, allocations: 0 / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1295, allocations: 7.922 kB / 0.5692 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.1298, allocations: 325.3 kB / 0.5695 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1298, allocations: 0 / 0.5695 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.13, allocations: 59.91 kB / 0.5695 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.13, allocations: 0 / 0.5695 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.13, allocations: 11.98 kB / 0.5695 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.13, allocations: 7.938 kB / 0.5696 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.13, allocations: 4 kB / 0.5696 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.1304, allocations: 326.9 kB / 0.5699 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1306, allocations: 152.7 kB / 0.57 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1306, allocations: 4 kB / 0.57 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1307, allocations: 19.98 kB / 0.57 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1308, allocations: 27.91 kB / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1308, allocations: 15.98 kB / 0.5701 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.131, allocations: 233.6 kB / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.131, allocations: 0 / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1313, allocations: 59.98 kB / 0.5704 GB, free: 13.99 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001327/0.1326, allocations: 1.15 MB / 0.5715 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.133, allocations: 231.9 kB / 0.5717 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.133, allocations: 0 / 0.5717 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1331, allocations: 128.4 kB / 0.5718 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1334, allocations: 41.34 kB / 0.5719 GB, free: 12.58 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.1359, allocations: 2.52 MB / 0.5743 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1362, allocations: 0.7535 MB / 0.5751 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002873/0.1365, allocations: 150.9 kB / 0.5752 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1366, allocations: 95.39 kB / 0.5753 GB, free: 8.957 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1366, allocations: 0 / 0.5753 GB, free: 8.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8816/1.018, allocations: 4.976 MB / 0.5802 GB, free: 4.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/1.019, allocations: 270.8 kB / 0.5804 GB, free: 3.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.859, allocations: 0 / 0.5804 GB, free: 3.82 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)