Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_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.004405/0.004405, allocations: 103.5 kB / 15.74 MB, free: 6.484 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.001053/0.001053, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.293/1.293, 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.7376/0.7376, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 66.25 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1525, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005645/0.1582, allocations: 4.105 MB / 0.6632 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.3106, allocations: 150.5 MB / 0.8101 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.3114, allocations: 15.94 kB / 0.8102 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.312, allocations: 158.5 kB / 0.8103 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.3138, allocations: 482.7 kB / 0.8108 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3156, allocations: 0.7919 MB / 0.8115 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.3169, allocations: 1.172 MB / 0.8127 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3764/0.6933, allocations: 0.5869 MB / 0.8133 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.6943, allocations: 426.2 kB / 0.8137 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.6951, allocations: 442.8 kB / 0.8141 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.6953, allocations: 101.5 kB / 0.8142 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.6965, allocations: 473.3 kB / 0.8146 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.6968, allocations: 269.2 kB / 0.8149 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.6975, allocations: 496.5 kB / 0.8154 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.7003, allocations: 1.473 MB / 0.8168 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7003, allocations: 0 / 0.8168 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7003, allocations: 0 / 0.8168 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.7003, allocations: 1.406 kB / 0.8168 GB, free: 3.348 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002358/0.7027, allocations: 1.318 MB / 0.8181 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.7027, allocations: 9.531 kB / 0.8181 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.7029, allocations: 130.4 kB / 0.8182 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009515/0.7039, allocations: 176 kB / 0.8184 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.7053, allocations: 0.7245 MB / 0.8191 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.7053, allocations: 61.14 kB / 0.8192 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.7055, allocations: 74.72 kB / 0.8192 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.7073, allocations: 0.8482 MB / 0.8201 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7074, allocations: 0.6562 kB / 0.8201 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.7074, allocations: 34.09 kB / 0.8201 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.7075, allocations: 19.86 kB / 0.8201 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.7092, allocations: 1.056 MB / 0.8211 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.713, allocations: 2.319 MB / 0.8234 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.7143, allocations: 0.7026 MB / 0.8241 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.7148, allocations: 273.4 kB / 0.8244 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.347e-05/0.7149, allocations: 28.3 kB / 0.8244 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/0.7157, allocations: 417.9 kB / 0.8248 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=71): time 3.527e-06/0.7157, allocations: 1.812 kB / 0.8248 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.002755/0.7185, allocations: 1.066 MB / 0.8258 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.7187, allocations: 192.9 kB / 0.826 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.7194, allocations: 0.5853 MB / 0.8266 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.7195, allocations: 42.08 kB / 0.8266 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.7197, allocations: 375.4 kB / 0.827 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.7199, allocations: 240.7 kB / 0.8272 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.7201, allocations: 128.5 kB / 0.8273 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7202, allocations: 378.6 kB / 0.8277 GB, free: 16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.7206, allocations: 212.4 kB / 0.8279 GB, free: 16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.7211, allocations: 318.6 kB / 0.8282 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/0.722, allocations: 0.5189 MB / 0.8287 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.722, allocations: 1.203 kB / 0.8287 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00156/0.7236, allocations: 0.7215 MB / 0.8294 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7236, allocations: 6.75 kB / 0.8294 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7236, allocations: 1.312 kB / 0.8294 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.7242, allocations: 80.72 kB / 0.8295 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.7247, allocations: 136 kB / 0.8296 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.7266, allocations: 1.628 MB / 0.8312 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.7272, allocations: 76.59 kB / 0.8313 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.7273, allocations: 28.36 kB / 0.8313 GB, free: 14.36 MB / 0.6544 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 (75): * Single equations (assignments): 74 * 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.0004513/0.7277, allocations: 250.5 kB / 0.8315 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7279, allocations: 75.78 kB / 0.8316 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.7299, allocations: 0.9666 MB / 0.8326 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.7299, allocations: 8.812 kB / 0.8326 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7299, allocations: 5.719 kB / 0.8326 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7299, allocations: 3.469 kB / 0.8326 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.7309, allocations: 0.8193 MB / 0.8334 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7309, allocations: 0 / 0.8334 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.7314, allocations: 142.4 kB / 0.8335 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.7318, allocations: 74.47 kB / 0.8336 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.7318, allocations: 24.05 kB / 0.8336 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7336, allocations: 1.648 MB / 0.8352 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7336, allocations: 0 / 0.8352 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.7352, allocations: 0.8338 MB / 0.836 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.7355, allocations: 253.5 kB / 0.8363 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.7356, allocations: 17.69 kB / 0.8363 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.7361, allocations: 50.14 kB / 0.8363 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7362, allocations: 58.81 kB / 0.8364 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.7363, allocations: 36.06 kB / 0.8364 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005027/0.7368, allocations: 423.9 kB / 0.8368 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7368, allocations: 0 / 0.8368 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009128/0.7377, allocations: 280.9 kB / 0.8371 GB, free: 12.07 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,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 (82): * Single equations (assignments): 79 * 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.003135/0.7409, allocations: 1.877 MB / 0.8389 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.7423, allocations: 0.7093 MB / 0.8396 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7423, allocations: 2.562 kB / 0.8396 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.743, allocations: 488 kB / 0.8401 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.7441, allocations: 280.9 kB / 0.8404 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009418/0.7535, allocations: 5.736 MB / 0.846 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.7543, allocations: 0.9961 MB / 0.8469 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008674/0.7551, allocations: 250.2 kB / 0.8472 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.7556, allocations: 345.2 kB / 0.8475 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.7556, allocations: 0 / 0.8475 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/0.8239, allocations: 19.65 MB / 0.8667 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.47, allocations: 4.984 kB / 0.8667 GB, free: 4.93 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)