Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_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.009576/0.009576, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001821/0.001821, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7965/0.7965, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 57.88 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 80.93 MB / 0.6641 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005762/0.1667, allocations: 4.185 MB / 0.6682 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5247/0.6914, allocations: 150.5 MB / 0.8152 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.6924, allocations: 15.34 kB / 0.8152 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.6932, allocations: 170.3 kB / 0.8154 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.6951, allocations: 487 kB / 0.8158 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.697, allocations: 0.7991 MB / 0.8166 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6985, allocations: 1.224 MB / 0.8178 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.6992, allocations: 0.555 MB / 0.8183 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.6998, allocations: 425.4 kB / 0.8187 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.7002, allocations: 436.1 kB / 0.8192 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.7003, allocations: 96.91 kB / 0.8192 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.7015, allocations: 0.8593 MB / 0.8201 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.7018, allocations: 257.1 kB / 0.8203 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.7022, allocations: 480.7 kB / 0.8208 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.704, allocations: 1.648 MB / 0.8224 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.704, allocations: 0 / 0.8224 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.704, allocations: 0 / 0.8224 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.704, allocations: 4 kB / 0.8224 GB, free: 5.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002118/0.7061, allocations: 1.353 MB / 0.8237 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7062, allocations: 11.42 kB / 0.8237 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.7063, allocations: 118.5 kB / 0.8238 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7074, allocations: 194.6 kB / 0.824 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.7084, allocations: 0.7181 MB / 0.8247 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.7084, allocations: 59.56 kB / 0.8248 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.7085, allocations: 67.09 kB / 0.8249 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.7099, allocations: 0.8285 MB / 0.8257 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7099, allocations: 3.25 kB / 0.8257 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.71, allocations: 28.88 kB / 0.8257 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.71, allocations: 21.45 kB / 0.8257 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.7118, allocations: 1.079 MB / 0.8268 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.7151, allocations: 2.339 MB / 0.8291 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.7165, allocations: 0.7419 MB / 0.8298 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.7171, allocations: 301.1 kB / 0.8301 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.7172, allocations: 39.8 kB / 0.8301 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000902/0.7181, allocations: 457.9 kB / 0.8305 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.295e-06/0.7181, allocations: 0 / 0.8305 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003262/0.7214, allocations: 1.169 MB / 0.8317 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7215, allocations: 191.9 kB / 0.8319 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.7222, allocations: 0.5996 MB / 0.8325 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.7223, allocations: 40.45 kB / 0.8325 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.7226, allocations: 359 kB / 0.8328 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.7228, allocations: 242.5 kB / 0.8331 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.723, allocations: 144 kB / 0.8332 GB, free: 14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7232, allocations: 384.5 kB / 0.8336 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.7238, allocations: 243.9 kB / 0.8338 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.7244, allocations: 348.1 kB / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.7257, allocations: 0.5856 MB / 0.8347 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7257, allocations: 0 / 0.8347 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001881/0.7276, allocations: 0.7888 MB / 0.8355 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7276, allocations: 5.031 kB / 0.8355 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.7276, allocations: 0 / 0.8355 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.7282, allocations: 86.17 kB / 0.8356 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.7288, allocations: 147.7 kB / 0.8357 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.7309, allocations: 1.654 MB / 0.8373 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.7316, allocations: 85.38 kB / 0.8374 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.7316, allocations: 32.17 kB / 0.8374 GB, free: 10.79 MB / 0.6075 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 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0003777/0.732, allocations: 250.6 kB / 0.8377 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.7322, allocations: 76.12 kB / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.7347, allocations: 1.098 MB / 0.8388 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7347, allocations: 7.531 kB / 0.8388 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7347, allocations: 0 / 0.8388 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7347, allocations: 7.969 kB / 0.8388 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.7356, allocations: 0.851 MB / 0.8397 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7357, allocations: 0 / 0.8397 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.7363, allocations: 157.4 kB / 0.8398 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.7367, allocations: 74.67 kB / 0.8399 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.7368, allocations: 27.75 kB / 0.8399 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.7387, allocations: 1.666 MB / 0.8415 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7387, allocations: 11.94 kB / 0.8415 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.7407, allocations: 0.893 MB / 0.8424 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.741, allocations: 265 kB / 0.8427 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.7411, allocations: 17.81 kB / 0.8427 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.7417, allocations: 66.89 kB / 0.8428 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.7418, allocations: 67.69 kB / 0.8428 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.7419, allocations: 31.83 kB / 0.8428 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005015/0.7424, allocations: 435.7 kB / 0.8433 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7424, allocations: 0 / 0.8433 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008387/0.7433, allocations: 295.2 kB / 0.8435 GB, free: 6.406 MB / 0.6075 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 (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.003368/0.7466, allocations: 1.976 MB / 0.8455 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7483, allocations: 0.7794 MB / 0.8462 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7484, allocations: 0 / 0.8462 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.7493, allocations: 0.52 MB / 0.8467 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.7504, allocations: 286.6 kB / 0.847 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7608, allocations: 6 MB / 0.8529 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.7614, allocations: 0.9916 MB / 0.8538 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007814/0.7622, allocations: 258.3 kB / 0.8541 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.7627, allocations: 355.3 kB / 0.8544 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7627, allocations: 0 / 0.8544 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.8114, allocations: 20.68 MB / 0.8746 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.7, allocations: 12.86 kB / 0.8746 GB, free: 7.371 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)