Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001272/0.001272, allocations: 104.5 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.001385/0.001385, allocations: 193.2 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7817/0.7817, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 66.97 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1716, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006513/0.1782, allocations: 4.665 MB / 0.6361 GB, free: 196 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6061/0.7844, allocations: 150.6 MB / 0.7832 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.7856, allocations: 14.78 kB / 0.7832 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.7866, allocations: 188.8 kB / 0.7834 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.7893, allocations: 0.533 MB / 0.7839 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.7917, allocations: 0.8479 MB / 0.7847 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.794, allocations: 1.387 MB / 0.7861 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.7951, allocations: 0.533 MB / 0.7866 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.7963, allocations: 481.7 kB / 0.787 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008391/0.7971, allocations: 493.1 kB / 0.7875 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.7973, allocations: 109.7 kB / 0.7876 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.7994, allocations: 0.8756 MB / 0.7885 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.7997, allocations: 286.2 kB / 0.7888 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.8003, allocations: 0.5335 MB / 0.7893 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.8033, allocations: 1.79 MB / 0.791 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8033, allocations: 1.875 kB / 0.791 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8033, allocations: 0 / 0.791 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.8033, allocations: 0 / 0.791 GB, free: 12.99 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003045/0.8064, allocations: 1.462 MB / 0.7925 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8064, allocations: 13.41 kB / 0.7925 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.8066, allocations: 123 kB / 0.7926 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.8078, allocations: 208.3 kB / 0.7928 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.809, allocations: 0.7639 MB / 0.7935 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.8091, allocations: 59.88 kB / 0.7936 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.8092, allocations: 72.84 kB / 0.7937 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.8108, allocations: 0.893 MB / 0.7945 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.8109, allocations: 2.531 kB / 0.7945 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.811, allocations: 31.75 kB / 0.7946 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.811, allocations: 24.64 kB / 0.7946 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.8129, allocations: 1.125 MB / 0.7957 GB, free: 11.54 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.004134/0.8171, allocations: 2.586 MB / 0.7982 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.8186, allocations: 0.83 MB / 0.799 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.8193, allocations: 334.1 kB / 0.7993 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/0.8194, allocations: 30.23 kB / 0.7994 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.8204, allocations: 0.5266 MB / 0.7999 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.898e-06/0.8204, allocations: 6.078 kB / 0.7999 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003643/0.8241, allocations: 1.291 MB / 0.8011 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.8242, allocations: 194 kB / 0.8013 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.8251, allocations: 0.6367 MB / 0.802 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.8251, allocations: 40.86 kB / 0.802 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.8254, allocations: 386.9 kB / 0.8024 GB, free: 9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.8257, allocations: 258.7 kB / 0.8026 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.8259, allocations: 163.3 kB / 0.8028 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002636/0.8262, allocations: 395.1 kB / 0.8031 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.8268, allocations: 276.3 kB / 0.8034 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.8276, allocations: 399.5 kB / 0.8038 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.8289, allocations: 0.6419 MB / 0.8044 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8289, allocations: 0 / 0.8044 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002289/0.8312, allocations: 0.8713 MB / 0.8053 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8313, allocations: 5.625 kB / 0.8053 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.8313, allocations: 0 / 0.8053 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.8319, allocations: 88.77 kB / 0.8053 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.8326, allocations: 163 kB / 0.8055 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.8348, allocations: 1.652 MB / 0.8071 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.8357, allocations: 94.03 kB / 0.8072 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.8358, allocations: 33.66 kB / 0.8072 GB, free: 6.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005045/0.8363, allocations: 272.4 kB / 0.8075 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.8365, allocations: 86.91 kB / 0.8076 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.8394, allocations: 1.205 MB / 0.8088 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.8394, allocations: 10.06 kB / 0.8088 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8395, allocations: 4 kB / 0.8088 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.8395, allocations: 3.984 kB / 0.8088 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.8407, allocations: 0.9203 MB / 0.8097 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8407, allocations: 0 / 0.8097 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.8413, allocations: 167.3 kB / 0.8098 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/0.8419, allocations: 67.98 kB / 0.8099 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.8419, allocations: 29.84 kB / 0.8099 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.8441, allocations: 1.679 MB / 0.8116 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8441, allocations: 0 / 0.8116 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.8466, allocations: 0.9998 MB / 0.8125 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.8471, allocations: 282.1 kB / 0.8128 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8472, allocations: 24.34 kB / 0.8128 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.8479, allocations: 79.25 kB / 0.8129 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.8481, allocations: 76.2 kB / 0.813 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.8482, allocations: 33.64 kB / 0.813 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006046/0.8488, allocations: 467.5 kB / 0.8135 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8488, allocations: 0 / 0.8135 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009973/0.8498, allocations: 318.2 kB / 0.8138 GB, free: 2.195 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003935/0.8537, allocations: 2.075 MB / 0.8158 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.8558, allocations: 0.8666 MB / 0.8166 GB, free: 500 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.8559, allocations: 6.875 kB / 0.8166 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.8569, allocations: 0.5609 MB / 0.8172 GB, free: 176 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.8583, allocations: 305.9 kB / 0.8175 GB, free: 12 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.8699, allocations: 6.352 MB / 0.8237 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.8705, allocations: 1.015 MB / 0.8247 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009802/0.8715, allocations: 277.2 kB / 0.8249 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.8721, allocations: 385.2 kB / 0.8253 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/0.8721, allocations: 0 / 0.8253 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/0.9329, allocations: 22.86 MB / 0.8476 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.41, allocations: 3.984 kB / 0.8476 GB, free: 5.395 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)