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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7153/0.7153, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 69.17 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004838/0.3414, allocations: 4.194 MB / 0.5843 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.4939, allocations: 150.5 MB / 0.7312 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/0.4948, allocations: 19.88 kB / 0.7312 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.4956, allocations: 162.5 kB / 0.7314 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.4977, allocations: 489 kB / 0.7319 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.5, allocations: 0.7934 MB / 0.7326 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.5015, allocations: 1.203 MB / 0.7338 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.5026, allocations: 0.5541 MB / 0.7344 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007686/0.5034, allocations: 422.6 kB / 0.7348 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.5041, allocations: 442 kB / 0.7352 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.5043, allocations: 96 kB / 0.7353 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.506, allocations: 0.8231 MB / 0.7361 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5063, allocations: 267.1 kB / 0.7363 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.5068, allocations: 481.4 kB / 0.7368 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.5092, allocations: 1.605 MB / 0.7384 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5092, allocations: 4 kB / 0.7384 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5092, allocations: 0 / 0.7384 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.5092, allocations: 4 kB / 0.7384 GB, free: 15.01 MB / 0.5762 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.002445/0.5117, allocations: 1.354 MB / 0.7397 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5117, allocations: 12.03 kB / 0.7397 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5119, allocations: 114.7 kB / 0.7398 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.513, allocations: 203.5 kB / 0.74 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.5138, allocations: 0.6992 MB / 0.7407 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.5139, allocations: 54 kB / 0.7407 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.514, allocations: 64 kB / 0.7408 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5154, allocations: 0.8333 MB / 0.7416 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5154, allocations: 4 kB / 0.7416 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.5155, allocations: 32 kB / 0.7416 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5155, allocations: 16 kB / 0.7417 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.5173, allocations: 1.073 MB / 0.7427 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.5206, allocations: 2.375 MB / 0.745 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.522, allocations: 0.7438 MB / 0.7457 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.5226, allocations: 298.7 kB / 0.746 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.5226, allocations: 40.61 kB / 0.7461 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000921/0.5236, allocations: 470.7 kB / 0.7465 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.5236, allocations: 0 / 0.7465 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003306/0.5269, allocations: 1.167 MB / 0.7477 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.527, allocations: 188.6 kB / 0.7478 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.5277, allocations: 0.6057 MB / 0.7484 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.5278, allocations: 41.7 kB / 0.7485 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.528, allocations: 356.5 kB / 0.7488 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.5282, allocations: 240.5 kB / 0.749 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.5284, allocations: 142.2 kB / 0.7492 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5286, allocations: 378.8 kB / 0.7495 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.5291, allocations: 245.2 kB / 0.7498 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.5298, allocations: 351.6 kB / 0.7501 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.531, allocations: 0.5871 MB / 0.7507 GB, free: 2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.531, allocations: 0 / 0.7507 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001944/0.533, allocations: 0.7898 MB / 0.7515 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.533, allocations: 4 kB / 0.7515 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.533, allocations: 4 kB / 0.7515 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.5336, allocations: 80.91 kB / 0.7515 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.5343, allocations: 147.8 kB / 0.7517 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.5363, allocations: 1.652 MB / 0.7533 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.5369, allocations: 79.39 kB / 0.7534 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.5369, allocations: 31.97 kB / 0.7534 GB, free: 15.06 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: 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.000347/0.5373, allocations: 241.7 kB / 0.7536 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.5374, allocations: 79.12 kB / 0.7537 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.5401, allocations: 1.115 MB / 0.7548 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5401, allocations: 8 kB / 0.7548 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5401, allocations: 0 / 0.7548 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.5401, allocations: 3.984 kB / 0.7548 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.541, allocations: 0.8449 MB / 0.7556 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.541, allocations: 0 / 0.7556 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.5416, allocations: 159.8 kB / 0.7558 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.542, allocations: 72.78 kB / 0.7558 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.5421, allocations: 23.98 kB / 0.7559 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5438, allocations: 1.674 MB / 0.7575 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5438, allocations: 4.062 kB / 0.7575 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5457, allocations: 0.9083 MB / 0.7584 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.546, allocations: 267.7 kB / 0.7587 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.5461, allocations: 16 kB / 0.7587 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.5467, allocations: 62.12 kB / 0.7587 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5468, allocations: 72.78 kB / 0.7588 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.5469, allocations: 35.97 kB / 0.7588 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004487/0.5473, allocations: 435 kB / 0.7592 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5473, allocations: 0 / 0.7592 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000691/0.548, allocations: 287.4 kB / 0.7595 GB, free: 8.531 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: 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.003263/0.5513, allocations: 1.962 MB / 0.7614 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.5535, allocations: 0.9775 MB / 0.7624 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5535, allocations: 0 / 0.7624 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009312/0.5544, allocations: 0.5083 MB / 0.7629 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5555, allocations: 307.5 kB / 0.7632 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5656, allocations: 6.179 MB / 0.7692 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.5661, allocations: 0.9876 MB / 0.7702 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008302/0.5669, allocations: 266.3 kB / 0.7704 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.5673, allocations: 347.3 kB / 0.7708 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.5673, allocations: 3.938 kB / 0.7708 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.6111, allocations: 20.44 MB / 0.7907 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.12, allocations: 14.28 kB / 0.7907 GB, free: 8.941 MB / 0.6231 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)