Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_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.0007856/0.0007856, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.000817/0.000817, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 8.562 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4688, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.003926/0.4727, allocations: 3.605 MB / 0.5867 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.6204, allocations: 136.7 MB / 0.7201 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008521/0.6213, allocations: 15.88 kB / 0.7201 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.622, allocations: 131 kB / 0.7203 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.6234, allocations: 392.8 kB / 0.7206 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.6251, allocations: 0.6022 MB / 0.7212 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.6264, allocations: 1.043 MB / 0.7223 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.6271, allocations: 406.3 kB / 0.7226 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.6277, allocations: 306.6 kB / 0.7229 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.6282, allocations: 322.4 kB / 0.7232 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.6284, allocations: 27.94 kB / 0.7233 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.6297, allocations: 0.7099 MB / 0.724 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.63, allocations: 167.2 kB / 0.7241 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.6302, allocations: 173.2 kB / 0.7243 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.6316, allocations: 1.177 MB / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6316, allocations: 0 / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6316, allocations: 0 / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.216e-05/0.6317, allocations: 0 / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002169/0.6338, allocations: 1.184 MB / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6339, allocations: 16.03 kB / 0.7266 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.6341, allocations: 118.5 kB / 0.7267 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6352, allocations: 206.5 kB / 0.7269 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6362, allocations: 0.6681 MB / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.6363, allocations: 50 kB / 0.7276 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.6364, allocations: 71.98 kB / 0.7277 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.6379, allocations: 0.8372 MB / 0.7285 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.638, allocations: 4 kB / 0.7285 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.638, allocations: 24 kB / 0.7285 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.6381, allocations: 27.94 kB / 0.7286 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6399, allocations: 1.089 MB / 0.7296 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.6434, allocations: 2.376 MB / 0.7319 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.6448, allocations: 0.7477 MB / 0.7327 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.6455, allocations: 314.7 kB / 0.733 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.6456, allocations: 32.69 kB / 0.733 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00093/0.6465, allocations: 479 kB / 0.7335 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.6465, allocations: 3.938 kB / 0.7335 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003143/0.6497, allocations: 1.186 MB / 0.7346 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6498, allocations: 200.5 kB / 0.7348 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.6506, allocations: 0.594 MB / 0.7354 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.6507, allocations: 37.7 kB / 0.7354 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.651, allocations: 360.4 kB / 0.7358 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.6512, allocations: 240.5 kB / 0.736 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.6513, allocations: 12 kB / 0.736 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6514, allocations: 382.7 kB / 0.7364 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.652, allocations: 253.2 kB / 0.7366 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.6526, allocations: 359.6 kB / 0.737 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.6533, allocations: 299.1 kB / 0.7372 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6533, allocations: 0 / 0.7372 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001849/0.6551, allocations: 0.8017 MB / 0.738 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6552, allocations: 4 kB / 0.738 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6552, allocations: 4 kB / 0.738 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.6557, allocations: 80.91 kB / 0.7381 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.6564, allocations: 155.8 kB / 0.7383 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.6584, allocations: 1.52 MB / 0.7397 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.659, allocations: 103.4 kB / 0.7398 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.6591, allocations: 27.98 kB / 0.7399 GB, free: 15.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.6596, allocations: 245.6 kB / 0.7401 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6597, allocations: 83.23 kB / 0.7402 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.6624, allocations: 1.127 MB / 0.7413 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.6625, allocations: 8 kB / 0.7413 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6625, allocations: 0 / 0.7413 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.6625, allocations: 15.92 kB / 0.7413 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000995/0.6635, allocations: 0.8411 MB / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6635, allocations: 0 / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.6641, allocations: 159.8 kB / 0.7423 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.6646, allocations: 84.78 kB / 0.7424 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.6647, allocations: 31.84 kB / 0.7424 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.6665, allocations: 1.559 MB / 0.7439 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6665, allocations: 0 / 0.7439 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.6685, allocations: 0.9162 MB / 0.7448 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.6689, allocations: 279.7 kB / 0.7451 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.669, allocations: 19.98 kB / 0.7451 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.6696, allocations: 83.72 kB / 0.7452 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.6698, allocations: 60.91 kB / 0.7452 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.6699, allocations: 39.97 kB / 0.7453 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005864/0.6705, allocations: 427 kB / 0.7457 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6705, allocations: 0 / 0.7457 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008465/0.6713, allocations: 299.3 kB / 0.746 GB, free: 8.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003384/0.6747, allocations: 1.961 MB / 0.7479 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.6764, allocations: 0.7982 MB / 0.7487 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6764, allocations: 0 / 0.7487 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009381/0.6774, allocations: 0.5159 MB / 0.7492 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.6786, allocations: 255 kB / 0.7494 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.6881, allocations: 4.845 MB / 0.7541 GB, free: 372 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.6888, allocations: 0.9964 MB / 0.7551 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009355/0.6897, allocations: 258.3 kB / 0.7554 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.6902, allocations: 343.3 kB / 0.7557 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6903, allocations: 0 / 0.7557 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.7306, allocations: 20.61 MB / 0.7758 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.7308, allocations: 271 kB / 0.7761 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.01, allocations: 0 / 0.7761 GB, free: 10.19 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) Environment - environmentSimulation: