Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.004624/0.004624, allocations: 100.6 kB / 15.73 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.001296/0.001296, allocations: 189.7 kB / 16.67 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8517/0.8517, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 62.34 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1367, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00693/0.1437, allocations: 4.506 MB / 0.6636 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4754/0.6191, allocations: 150.6 MB / 0.8107 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.6198, allocations: 15.81 kB / 0.8107 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.6204, allocations: 191 kB / 0.8108 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.6219, allocations: 499 kB / 0.8113 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.6237, allocations: 0.8212 MB / 0.8121 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.625, allocations: 1.329 MB / 0.8134 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6261, allocations: 0.9117 MB / 0.8143 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.6268, allocations: 0.5315 MB / 0.8148 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.6274, allocations: 0.5833 MB / 0.8154 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.6276, allocations: 139.6 kB / 0.8155 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009337/0.6285, allocations: 0.4995 MB / 0.816 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.6288, allocations: 344.9 kB / 0.8164 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.6293, allocations: 0.6447 MB / 0.817 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.6313, allocations: 1.851 MB / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6314, allocations: 2.719 kB / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6314, allocations: 0 / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.6314, allocations: 0 / 0.8188 GB, free: 8.922 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00259/0.634, allocations: 1.629 MB / 0.8204 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.634, allocations: 9.969 kB / 0.8204 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.6343, allocations: 182 kB / 0.8206 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.6352, allocations: 219.7 kB / 0.8208 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6365, allocations: 0.8308 MB / 0.8216 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.6366, allocations: 89.86 kB / 0.8217 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.6368, allocations: 108.8 kB / 0.8218 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.6387, allocations: 1.146 MB / 0.8229 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.6387, allocations: 0 / 0.8229 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6388, allocations: 52.53 kB / 0.8229 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6388, allocations: 28.09 kB / 0.823 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.6408, allocations: 1.236 MB / 0.8242 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.6454, allocations: 2.983 MB / 0.8271 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.6468, allocations: 0.7636 MB / 0.8278 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.6473, allocations: 297.3 kB / 0.8281 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.6474, allocations: 29.77 kB / 0.8282 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008023/0.6482, allocations: 460.1 kB / 0.8286 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.6482, allocations: 0 / 0.8286 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003055/0.6513, allocations: 1.142 MB / 0.8297 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.6514, allocations: 194.2 kB / 0.8299 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.6523, allocations: 0.6818 MB / 0.8306 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.6524, allocations: 48.05 kB / 0.8306 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.6528, allocations: 0.5101 MB / 0.8311 GB, free: 500 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.6531, allocations: 271.9 kB / 0.8314 GB, free: 264 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6533, allocations: 139 kB / 0.8315 GB, free: 180 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6535, allocations: 330.7 kB / 0.8318 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.6539, allocations: 234.5 kB / 0.832 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.6545, allocations: 348.5 kB / 0.8324 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.6561, allocations: 0.5781 MB / 0.8329 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.6562, allocations: 7.875 kB / 0.8329 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003007/0.6592, allocations: 0.7991 MB / 0.8337 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6592, allocations: 6.25 kB / 0.8337 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6592, allocations: 6.688 kB / 0.8337 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008886/0.6601, allocations: 83.42 kB / 0.8338 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.661, allocations: 146 kB / 0.8339 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.6639, allocations: 1.627 MB / 0.8355 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.6647, allocations: 89.09 kB / 0.8356 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.6648, allocations: 28.11 kB / 0.8356 GB, free: 13.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0007339/0.6655, allocations: 279.5 kB / 0.8359 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.6658, allocations: 98.22 kB / 0.836 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.6694, allocations: 1.028 MB / 0.837 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6694, allocations: 7.844 kB / 0.837 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6694, allocations: 0 / 0.837 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6694, allocations: 3.984 kB / 0.837 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.6714, allocations: 0.9862 MB / 0.838 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6714, allocations: 7.156 kB / 0.838 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.6723, allocations: 144.8 kB / 0.8381 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000667/0.673, allocations: 74.3 kB / 0.8382 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.6731, allocations: 19.73 kB / 0.8382 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.6761, allocations: 1.657 MB / 0.8398 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6761, allocations: 4.203 kB / 0.8398 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.6791, allocations: 0.8976 MB / 0.8407 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/0.6797, allocations: 272 kB / 0.841 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.68, allocations: 16.41 kB / 0.841 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/0.6808, allocations: 59.69 kB / 0.8411 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.6811, allocations: 63.44 kB / 0.8411 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6812, allocations: 32.11 kB / 0.8411 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008945/0.6821, allocations: 496.4 kB / 0.8416 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.6821, allocations: 0 / 0.8416 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001339/0.6835, allocations: 342.6 kB / 0.8419 GB, free: 8.551 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.005983/0.6895, allocations: 1.948 MB / 0.8438 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.6915, allocations: 0.7736 MB / 0.8446 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6915, allocations: 0 / 0.8446 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00098/0.6925, allocations: 0.4963 MB / 0.8451 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6942, allocations: 311.9 kB / 0.8454 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7121, allocations: 6.692 MB / 0.8519 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.7133, allocations: 1.078 MB / 0.853 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001254/0.7146, allocations: 266.9 kB / 0.8532 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009321/0.7155, allocations: 455.2 kB / 0.8537 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.7155, allocations: 0 / 0.8537 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07684/0.7924, allocations: 21.9 MB / 0.875 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.66, allocations: 15.72 kB / 0.8751 GB, free: 7.398 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)