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.001705/0.001705, 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.002139/0.002139, allocations: 193.1 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 2.373/2.373, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.591/1.591, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 64.34 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2156, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.01044/0.2261, allocations: 4.181 MB / 0.5885 GB, free: 284 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6174/0.8435, allocations: 150.5 MB / 0.7355 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.8445, allocations: 20.81 kB / 0.7355 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.8455, allocations: 167.1 kB / 0.7357 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.8482, allocations: 484.3 kB / 0.7361 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.8517, allocations: 0.7888 MB / 0.7369 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.854, allocations: 1.205 MB / 0.7381 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.8556, allocations: 0.5542 MB / 0.7386 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.8566, allocations: 420.6 kB / 0.739 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.8577, allocations: 431.1 kB / 0.7394 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.8581, allocations: 100.9 kB / 0.7395 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.8608, allocations: 0.8294 MB / 0.7403 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.8614, allocations: 258.4 kB / 0.7406 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.8624, allocations: 489.4 kB / 0.7411 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.8659, allocations: 1.602 MB / 0.7426 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8659, allocations: 0 / 0.7426 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8659, allocations: 1.375 kB / 0.7426 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.62e-05/0.866, allocations: 0 / 0.7426 GB, free: 8.23 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.004472/0.8705, allocations: 1.352 MB / 0.7439 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8705, allocations: 14.34 kB / 0.744 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/0.8708, allocations: 122.4 kB / 0.7441 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.8731, allocations: 193.4 kB / 0.7443 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.8749, allocations: 0.7064 MB / 0.7449 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.875, allocations: 53.88 kB / 0.745 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.8751, allocations: 65.22 kB / 0.7451 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.8774, allocations: 0.8323 MB / 0.7459 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.8775, allocations: 0 / 0.7459 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.8776, allocations: 32.44 kB / 0.7459 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.8777, allocations: 17.75 kB / 0.7459 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.8808, allocations: 1.078 MB / 0.747 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006017/0.8869, allocations: 2.355 MB / 0.7493 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.8893, allocations: 0.7512 MB / 0.75 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.8904, allocations: 304.9 kB / 0.7503 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.8906, allocations: 32.69 kB / 0.7503 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.8922, allocations: 464.8 kB / 0.7508 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.308e-06/0.8922, allocations: 0 / 0.7508 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.005768/0.898, allocations: 1.166 MB / 0.7519 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.8981, allocations: 192.5 kB / 0.7521 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.8995, allocations: 0.6017 MB / 0.7527 GB, free: 176 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.8997, allocations: 41.7 kB / 0.7527 GB, free: 128 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.9002, allocations: 356.5 kB / 0.7531 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.9005, allocations: 236.4 kB / 0.7533 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.9009, allocations: 142.3 kB / 0.7534 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.9011, allocations: 382.8 kB / 0.7538 GB, free: 15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.9021, allocations: 237.2 kB / 0.754 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.9033, allocations: 359.6 kB / 0.7544 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.9056, allocations: 0.5831 MB / 0.7549 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.9056, allocations: 1.125 kB / 0.7549 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003824/0.9094, allocations: 0.7898 MB / 0.7557 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.9095, allocations: 8 kB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.9095, allocations: 0 / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.9106, allocations: 88.83 kB / 0.7558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.9121, allocations: 143.8 kB / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.9158, allocations: 1.664 MB / 0.7576 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9171, allocations: 79.55 kB / 0.7576 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.9173, allocations: 39.97 kB / 0.7577 GB, free: 10.83 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 (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.0007845/0.9181, allocations: 245.7 kB / 0.7579 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.9185, allocations: 75.06 kB / 0.758 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.9241, allocations: 1.104 MB / 0.7591 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.9242, allocations: 8 kB / 0.7591 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9242, allocations: 4 kB / 0.7591 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.9242, allocations: 3.984 kB / 0.7591 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.9262, allocations: 0.845 MB / 0.7599 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9262, allocations: 0 / 0.7599 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9277, allocations: 155.8 kB / 0.76 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008484/0.9286, allocations: 76.78 kB / 0.7601 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.9287, allocations: 27.98 kB / 0.7601 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.9321, allocations: 1.666 MB / 0.7618 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.9322, allocations: 7.969 kB / 0.7618 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.9364, allocations: 0.8967 MB / 0.7627 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/0.9372, allocations: 273.1 kB / 0.7629 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.9375, allocations: 16 kB / 0.7629 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.9387, allocations: 58.28 kB / 0.763 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.939, allocations: 68.84 kB / 0.763 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.9391, allocations: 35.97 kB / 0.7631 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001045/0.9402, allocations: 439 kB / 0.7635 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9402, allocations: 0 / 0.7635 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001536/0.9417, allocations: 295.4 kB / 0.7638 GB, free: 4.312 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 (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.006701/0.9485, allocations: 1.963 MB / 0.7657 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004617/0.9531, allocations: 0.9814 MB / 0.7667 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9531, allocations: 0 / 0.7667 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.955, allocations: 0.5158 MB / 0.7672 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.9573, allocations: 284.7 kB / 0.7674 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.9762, allocations: 6.184 MB / 0.7735 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009776/0.9772, allocations: 0.9976 MB / 0.7744 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001789/0.979, allocations: 262.3 kB / 0.7747 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/0.98, allocations: 347.3 kB / 0.775 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.98, allocations: 0 / 0.775 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/1.277, allocations: 20.45 MB / 0.795 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.15/28.43, allocations: 15.59 kB / 0.795 GB, free: 4.703 MB / 0.6075 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)