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.001146/0.001146, allocations: 103.3 kB / 16.4 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 189.7 kB / 17.34 MB, free: 5.617 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7395/0.7395, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.27 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.165, allocations: 76.2 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009911/0.175, allocations: 7.167 MB / 0.6386 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6181/0.7931, allocations: 153.4 MB / 0.7884 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.7951, allocations: 33.59 kB / 0.7884 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.7965, allocations: 346.3 kB / 0.7888 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.7996, allocations: 0.7681 MB / 0.7895 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.8032, allocations: 1.387 MB / 0.7909 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.8071, allocations: 2.661 MB / 0.7935 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.809, allocations: 1.044 MB / 0.7945 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.8107, allocations: 0.8882 MB / 0.7954 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.8121, allocations: 0.9115 MB / 0.7963 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004358/0.8126, allocations: 210.7 kB / 0.7965 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.8145, allocations: 0.9728 MB / 0.7974 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.815, allocations: 0.5373 MB / 0.7979 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.8161, allocations: 1.019 MB / 0.7989 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.8203, allocations: 3.001 MB / 0.8019 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8203, allocations: 0 / 0.8019 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8203, allocations: 0 / 0.8019 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.836e-05/0.8204, allocations: 0 / 0.8019 GB, free: 11.28 MB / 0.5919 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.005386/0.8258, allocations: 2.389 MB / 0.8042 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8259, allocations: 9.688 kB / 0.8042 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002696/0.8261, allocations: 215.4 kB / 0.8044 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.8283, allocations: 374.3 kB / 0.8048 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.8307, allocations: 1.317 MB / 0.806 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.8308, allocations: 112.4 kB / 0.8062 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.831, allocations: 137.4 kB / 0.8063 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.8341, allocations: 1.656 MB / 0.8079 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.8342, allocations: 4 kB / 0.8079 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.8343, allocations: 63.25 kB / 0.808 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.8344, allocations: 35.28 kB / 0.808 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.8381, allocations: 2.153 MB / 0.8101 GB, free: 7.211 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008767/0.8469, allocations: 4.91 MB / 0.8149 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.8501, allocations: 1.613 MB / 0.8165 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.8513, allocations: 0.5909 MB / 0.817 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.8515, allocations: 65 kB / 0.8171 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.8532, allocations: 0.9367 MB / 0.818 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=154): time 2.875e-06/0.8532, allocations: 0 / 0.818 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154): time 0.00657/0.8598, allocations: 2.377 MB / 0.8203 GB, free: 404 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.86, allocations: 353.2 kB / 0.8207 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.8618, allocations: 1.161 MB / 0.8218 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.8621, allocations: 57.67 kB / 0.8219 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.8627, allocations: 0.6602 MB / 0.8225 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.8631, allocations: 0.4904 MB / 0.823 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.8636, allocations: 280.1 kB / 0.8233 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8637, allocations: 364.6 kB / 0.8236 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.8648, allocations: 0.4887 MB / 0.8241 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.8661, allocations: 0.7209 MB / 0.8248 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.8684, allocations: 1.184 MB / 0.8259 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8685, allocations: 0 / 0.8259 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004147/0.8726, allocations: 1.59 MB / 0.8275 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.8727, allocations: 8.406 kB / 0.8275 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.8727, allocations: 7.016 kB / 0.8275 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.8738, allocations: 169.7 kB / 0.8277 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.8751, allocations: 307.1 kB / 0.828 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.8793, allocations: 3.292 MB / 0.8312 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8812, allocations: 175.7 kB / 0.8314 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.8814, allocations: 60.08 kB / 0.8314 GB, free: 8.043 MB / 0.6075 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009864/0.8824, allocations: 412 kB / 0.8318 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.8828, allocations: 165.3 kB / 0.832 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/0.8878, allocations: 2.171 MB / 0.8341 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.8879, allocations: 20 kB / 0.8341 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8879, allocations: 3.938 kB / 0.8341 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.8879, allocations: 11.91 kB / 0.8341 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.8903, allocations: 1.628 MB / 0.8357 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.8903, allocations: 0 / 0.8357 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.8915, allocations: 283.6 kB / 0.836 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.8925, allocations: 145.6 kB / 0.8361 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.8927, allocations: 51.95 kB / 0.8362 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/0.8964, allocations: 3.342 MB / 0.8394 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8964, allocations: 32 / 0.8394 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.9009, allocations: 1.835 MB / 0.8412 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.9021, allocations: 462.4 kB / 0.8417 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/0.9025, allocations: 40 kB / 0.8417 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.9039, allocations: 134.3 kB / 0.8418 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.9042, allocations: 133.8 kB / 0.842 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.9044, allocations: 71.95 kB / 0.842 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001228/0.9056, allocations: 0.8108 MB / 0.8428 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9056, allocations: 0 / 0.8428 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001604/0.9072, allocations: 0.5144 MB / 0.8433 GB, free: 11.66 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0058/0.913, allocations: 2.927 MB / 0.8462 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.9165, allocations: 1.607 MB / 0.8477 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.9166, allocations: 8 kB / 0.8478 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.9185, allocations: 1.046 MB / 0.8488 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.9212, allocations: 0.5736 MB / 0.8493 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/0.9419, allocations: 11.18 MB / 0.8603 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/0.9429, allocations: 1.337 MB / 0.8616 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001806/0.9447, allocations: 0.5127 MB / 0.8621 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.9458, allocations: 0.7413 MB / 0.8628 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.9458, allocations: 0 / 0.8628 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/1.029, allocations: 40.56 MB / 0.9024 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.33, allocations: 7.984 kB / 0.9024 GB, free: 15.48 MB / 0.6856 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/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)