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.0009973/0.0009973, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001014/0.001014, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.22/1.22, 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.6602/0.6602, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.75 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1119, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.0082/0.1202, allocations: 7.183 MB / 0.6386 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4386/0.5588, allocations: 153.4 MB / 0.7884 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5602, allocations: 36.53 kB / 0.7884 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.5612, allocations: 337.1 kB / 0.7888 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.5639, allocations: 0.768 MB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.567, allocations: 1.394 MB / 0.7909 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002848/0.5698, allocations: 2.654 MB / 0.7935 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.5714, allocations: 1.044 MB / 0.7945 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.5726, allocations: 0.892 MB / 0.7954 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.5739, allocations: 0.9129 MB / 0.7963 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.5744, allocations: 210.8 kB / 0.7965 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.5762, allocations: 0.9708 MB / 0.7974 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005457/0.5767, allocations: 0.5327 MB / 0.7979 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.5778, allocations: 1.023 MB / 0.7989 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.5809, allocations: 3.001 MB / 0.8019 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5809, allocations: 7.188 kB / 0.8019 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5809, allocations: 0 / 0.8019 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.66e-05/0.581, allocations: 0 / 0.8019 GB, free: 11.71 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.004789/0.5858, allocations: 2.382 MB / 0.8042 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5858, allocations: 10.31 kB / 0.8042 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.5861, allocations: 213.5 kB / 0.8044 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.5879, allocations: 384.5 kB / 0.8048 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.5897, allocations: 1.307 MB / 0.806 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.5898, allocations: 111.8 kB / 0.8061 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.5899, allocations: 138 kB / 0.8063 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.5925, allocations: 1.658 MB / 0.8079 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.5925, allocations: 3.031 kB / 0.8079 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5927, allocations: 71.02 kB / 0.808 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.5927, allocations: 35.09 kB / 0.808 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.5957, allocations: 2.147 MB / 0.8101 GB, free: 7.332 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.00741/0.6031, allocations: 4.905 MB / 0.8149 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.6061, allocations: 1.612 MB / 0.8165 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.6071, allocations: 0.5943 MB / 0.817 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6073, allocations: 62.91 kB / 0.8171 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.6088, allocations: 0.9374 MB / 0.818 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=154): time 4.158e-06/0.6088, allocations: 0 / 0.818 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154): time 0.0058/0.6146, allocations: 2.378 MB / 0.8203 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.6148, allocations: 358.5 kB / 0.8207 GB, free: 108 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6163, allocations: 1.161 MB / 0.8218 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.6164, allocations: 60.14 kB / 0.8219 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.6169, allocations: 0.6597 MB / 0.8225 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.6173, allocations: 498.2 kB / 0.823 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.6177, allocations: 280.7 kB / 0.8233 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6179, allocations: 356.6 kB / 0.8236 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009975/0.6189, allocations: 0.4923 MB / 0.8241 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.62, allocations: 0.7246 MB / 0.8248 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.6221, allocations: 1.179 MB / 0.8259 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6221, allocations: 6.562 kB / 0.8259 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003582/0.6257, allocations: 1.594 MB / 0.8275 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6257, allocations: 9.312 kB / 0.8275 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6257, allocations: 2.719 kB / 0.8275 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.6268, allocations: 161 kB / 0.8277 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.628, allocations: 311 kB / 0.828 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.6318, allocations: 3.289 MB / 0.8312 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6332, allocations: 188 kB / 0.8314 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.6333, allocations: 62.8 kB / 0.8314 GB, free: 8.168 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.0007402/0.6341, allocations: 409.3 kB / 0.8318 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.6344, allocations: 160.2 kB / 0.832 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.6391, allocations: 2.165 MB / 0.8341 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6392, allocations: 24 kB / 0.8341 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6392, allocations: 0 / 0.8341 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.6392, allocations: 11.91 kB / 0.8341 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.6412, allocations: 1.63 MB / 0.8357 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.6412, allocations: 0 / 0.8357 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6423, allocations: 283.6 kB / 0.836 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008623/0.6432, allocations: 153.5 kB / 0.8361 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.6433, allocations: 51.97 kB / 0.8362 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.647, allocations: 3.335 MB / 0.8394 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6471, allocations: 0 / 0.8394 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/0.651, allocations: 1.831 MB / 0.8412 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.6518, allocations: 470.4 kB / 0.8417 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.6521, allocations: 36 kB / 0.8417 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6533, allocations: 127.8 kB / 0.8418 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.6536, allocations: 142 kB / 0.842 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.6537, allocations: 71.95 kB / 0.842 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001192/0.6549, allocations: 0.8053 MB / 0.8428 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.655, allocations: 4 kB / 0.8428 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001346/0.6563, allocations: 0.5144 MB / 0.8433 GB, free: 11.84 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.005292/0.6616, allocations: 2.926 MB / 0.8462 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003156/0.6648, allocations: 1.607 MB / 0.8477 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6648, allocations: 8 kB / 0.8477 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.6666, allocations: 1.042 MB / 0.8488 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.6687, allocations: 0.5836 MB / 0.8493 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.6879, allocations: 11.18 MB / 0.8603 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/0.6888, allocations: 1.341 MB / 0.8616 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001531/0.6904, allocations: 0.5088 MB / 0.8621 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009539/0.6914, allocations: 0.7413 MB / 0.8628 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.6914, allocations: 0 / 0.8628 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.7615, allocations: 40.56 MB / 0.9024 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.54, allocations: 11.92 kB / 0.9024 GB, free: 15.66 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)