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.005218/0.005218, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001294/0.001294, allocations: 196.5 kB / 16.68 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.751/0.751, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.69 kB / 0.5808 GB, free: 1.273 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 80.2 MB / 0.6592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005526/0.1351, allocations: 4.193 MB / 0.6633 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.2828, allocations: 150.5 MB / 0.8102 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.2835, allocations: 19.88 kB / 0.8102 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.2841, allocations: 166.5 kB / 0.8104 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.2856, allocations: 489.6 kB / 0.8109 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.2874, allocations: 0.7932 MB / 0.8116 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2887, allocations: 1.226 MB / 0.8128 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3075/0.5961, allocations: 0.5408 MB / 0.8134 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.5969, allocations: 428.3 kB / 0.8138 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.5974, allocations: 433.3 kB / 0.8142 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.5975, allocations: 97.25 kB / 0.8143 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.5989, allocations: 0.8575 MB / 0.8151 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.5992, allocations: 258.2 kB / 0.8154 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.5996, allocations: 479.7 kB / 0.8158 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.6017, allocations: 1.653 MB / 0.8174 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6017, allocations: 4.594 kB / 0.8174 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6017, allocations: 1.203 kB / 0.8174 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.6017, allocations: 0.5625 kB / 0.8174 GB, free: 3.262 MB / 0.6387 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.002188/0.6039, allocations: 1.391 MB / 0.8188 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6039, allocations: 9.531 kB / 0.8188 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.6041, allocations: 115 kB / 0.8189 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.6053, allocations: 205.5 kB / 0.8191 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6064, allocations: 0.726 MB / 0.8198 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.6065, allocations: 60.22 kB / 0.8199 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6066, allocations: 66.78 kB / 0.8199 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.6081, allocations: 0.8355 MB / 0.8208 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6082, allocations: 3.094 kB / 0.8208 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/0.6082, allocations: 30.81 kB / 0.8208 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6083, allocations: 17.72 kB / 0.8208 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6103, allocations: 1.076 MB / 0.8219 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.6136, allocations: 2.341 MB / 0.8241 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.615, allocations: 0.7366 MB / 0.8249 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.6156, allocations: 308.7 kB / 0.8252 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.683e-05/0.6157, allocations: 37.39 kB / 0.8252 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000877/0.6166, allocations: 463.6 kB / 0.8256 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.6166, allocations: 0 / 0.8256 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003406/0.6201, allocations: 1.17 MB / 0.8268 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.6202, allocations: 189.5 kB / 0.827 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/0.6208, allocations: 0.5967 MB / 0.8275 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.6209, allocations: 41.52 kB / 0.8276 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.6211, allocations: 359.7 kB / 0.8279 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6213, allocations: 255.1 kB / 0.8282 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.6215, allocations: 142.6 kB / 0.8283 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6217, allocations: 383.8 kB / 0.8287 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.6223, allocations: 242.4 kB / 0.8289 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.623, allocations: 358 kB / 0.8292 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.6242, allocations: 0.5824 MB / 0.8298 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6242, allocations: 2.125 kB / 0.8298 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001946/0.6261, allocations: 0.7956 MB / 0.8306 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6262, allocations: 5.75 kB / 0.8306 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6262, allocations: 4.625 kB / 0.8306 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.6268, allocations: 83 kB / 0.8307 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.6274, allocations: 153.5 kB / 0.8308 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.6295, allocations: 1.642 MB / 0.8324 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.6301, allocations: 84.66 kB / 0.8325 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.6302, allocations: 32.09 kB / 0.8325 GB, free: 14.08 MB / 0.6544 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.0003251/0.6305, allocations: 249.4 kB / 0.8328 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6307, allocations: 81.11 kB / 0.8329 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.6333, allocations: 1.112 MB / 0.8339 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6333, allocations: 8.906 kB / 0.834 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.6333, allocations: 2.062 kB / 0.834 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.6333, allocations: 5.578 kB / 0.834 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.6342, allocations: 0.8411 MB / 0.8348 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.6342, allocations: 4.812 kB / 0.8348 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.6349, allocations: 155 kB / 0.8349 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.6353, allocations: 74.47 kB / 0.835 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.6354, allocations: 24.98 kB / 0.835 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.6371, allocations: 1.672 MB / 0.8367 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6372, allocations: 0 / 0.8367 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.6391, allocations: 0.9092 MB / 0.8375 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.6394, allocations: 275.8 kB / 0.8378 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6396, allocations: 15.84 kB / 0.8378 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.6401, allocations: 64.73 kB / 0.8379 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6403, allocations: 63.09 kB / 0.8379 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.6403, allocations: 34.22 kB / 0.838 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004548/0.6408, allocations: 436.1 kB / 0.8384 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6408, allocations: 0.9688 kB / 0.8384 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007675/0.6416, allocations: 295.8 kB / 0.8387 GB, free: 11.75 MB / 0.6544 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.003382/0.645, allocations: 1.972 MB / 0.8406 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.6466, allocations: 0.7882 MB / 0.8414 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6466, allocations: 0.7812 kB / 0.8414 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.6476, allocations: 0.5163 MB / 0.8419 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6486, allocations: 286.8 kB / 0.8422 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009946/0.6586, allocations: 6.026 MB / 0.848 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.6591, allocations: 0.9888 MB / 0.849 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007767/0.6599, allocations: 263.9 kB / 0.8493 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.6603, allocations: 351 kB / 0.8496 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6603, allocations: 0 / 0.8496 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.7041, allocations: 20.67 MB / 0.8698 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.73, allocations: 10.94 kB / 0.8698 GB, free: 3.508 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)