Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.00129/0.00129, allocations: 96.89 kB / 15.69 MB, free: 480 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.001823/0.001823, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.271/1.271, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6484/0.6484, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 9.453 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00639/0.1618, allocations: 5.601 MB / 0.5622 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4154/0.5773, allocations: 129.9 MB / 0.689 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008185/0.5781, allocations: 31.81 kB / 0.6891 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.5786, allocations: 126.8 kB / 0.6892 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.5804, allocations: 0.7489 MB / 0.6899 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5825, allocations: 1.03 MB / 0.6909 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.5842, allocations: 1.601 MB / 0.6925 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009088/0.5851, allocations: 0.7655 MB / 0.6932 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.5857, allocations: 0.6341 MB / 0.6938 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.5863, allocations: 0.6281 MB / 0.6945 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.5864, allocations: 52 kB / 0.6945 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.5874, allocations: 0.7137 MB / 0.6952 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.5877, allocations: 346.5 kB / 0.6955 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.5879, allocations: 344.6 kB / 0.6959 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.5895, allocations: 2.152 MB / 0.698 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.5895, allocations: 0 / 0.698 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.81e-07/0.5895, allocations: 0 / 0.698 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5895, allocations: 0 / 0.698 GB, free: 9.133 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003027/0.5926, allocations: 1.997 MB / 0.6999 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.5926, allocations: 12.03 kB / 0.6999 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.5928, allocations: 211.2 kB / 0.7001 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.5945, allocations: 405 kB / 0.7005 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.5961, allocations: 1.226 MB / 0.7017 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.5961, allocations: 114.9 kB / 0.7018 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.5963, allocations: 140 kB / 0.702 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.5986, allocations: 1.638 MB / 0.7036 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5986, allocations: 3.984 kB / 0.7036 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5987, allocations: 64 kB / 0.7036 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.5988, allocations: 40 kB / 0.7037 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.6018, allocations: 2.146 MB / 0.7058 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.6079, allocations: 4.8 MB / 0.7104 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.6106, allocations: 1.621 MB / 0.712 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.6107, allocations: 65.2 kB / 0.7121 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.6121, allocations: 0.9408 MB / 0.713 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 2.465e-06/0.6121, allocations: 0 / 0.713 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=154): time 0.005296/0.6174, allocations: 2.387 MB / 0.7153 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6176, allocations: 359.4 kB / 0.7157 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.6187, allocations: 1.143 MB / 0.7168 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.865e-05/0.6188, allocations: 53.7 kB / 0.7169 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.6193, allocations: 0.6699 MB / 0.7175 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.6196, allocations: 496.8 kB / 0.718 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.6197, allocations: 28 kB / 0.718 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6198, allocations: 365.9 kB / 0.7184 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.6207, allocations: 499.7 kB / 0.7188 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.6218, allocations: 0.7187 MB / 0.7195 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6228, allocations: 0.584 MB / 0.7201 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6228, allocations: 4 kB / 0.7201 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003179/0.626, allocations: 1.594 MB / 0.7217 GB, free: 272 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.626, allocations: 8.281 kB / 0.7217 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.626, allocations: 4 kB / 0.7217 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.627, allocations: 169.5 kB / 0.7218 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.6282, allocations: 307.5 kB / 0.7221 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1472/0.7754, allocations: 3.1 MB / 0.7252 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7766, allocations: 197.7 kB / 0.7253 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7767, allocations: 67.94 kB / 0.7254 GB, free: 12.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005928/0.7773, allocations: 417.5 kB / 0.7258 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.7776, allocations: 158 kB / 0.726 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.7819, allocations: 2.196 MB / 0.7281 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.782, allocations: 20 kB / 0.7281 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.782, allocations: 0 / 0.7281 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.782, allocations: 7.969 kB / 0.7281 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.7836, allocations: 1.647 MB / 0.7297 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7837, allocations: 3.938 kB / 0.7297 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7847, allocations: 291.6 kB / 0.73 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/0.7856, allocations: 173.5 kB / 0.7302 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.7857, allocations: 43.97 kB / 0.7302 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.7887, allocations: 3.146 MB / 0.7333 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7887, allocations: 3.953 kB / 0.7333 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.7921, allocations: 1.835 MB / 0.7351 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.7927, allocations: 498.2 kB / 0.7356 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.7929, allocations: 40.12 kB / 0.7356 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.794, allocations: 167.1 kB / 0.7358 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.7942, allocations: 137.8 kB / 0.7359 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.7944, allocations: 71.95 kB / 0.736 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009272/0.7953, allocations: 0.8029 MB / 0.7368 GB, free: 108 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.102e-06/0.7953, allocations: 3.938 kB / 0.7368 GB, free: 104 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001126/0.7964, allocations: 0.5067 MB / 0.7373 GB, free: 15.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004566/0.801, allocations: 3.004 MB / 0.7402 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.8038, allocations: 1.606 MB / 0.7418 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8038, allocations: 4 kB / 0.7418 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.8053, allocations: 1.043 MB / 0.7428 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.807, allocations: 476.3 kB / 0.7432 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.8243, allocations: 11.44 MB / 0.7544 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.825, allocations: 1.372 MB / 0.7557 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001489/0.8265, allocations: 0.5127 MB / 0.7562 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/0.8274, allocations: 0.7296 MB / 0.757 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.8274, allocations: 0 / 0.757 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.007/2.835, allocations: 39.41 MB / 0.7954 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04228/2.877, allocations: 261.3 kB / 0.7957 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/6.314, allocations: 0 / 0.7957 GB, free: 3.871 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) Environment - environmentSimulation: