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.007797/0.007797, allocations: 104.4 kB / 15.74 MB, free: 5.598 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.001343/0.001343, allocations: 191.8 kB / 16.67 MB, free: 5.527 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: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 58.39 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006157/0.1543, allocations: 4.115 MB / 0.6632 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.523/0.6773, allocations: 150.4 MB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.6786, allocations: 15.94 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008326/0.6795, allocations: 165.4 kB / 0.8103 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.6811, allocations: 469.1 kB / 0.8107 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.6829, allocations: 0.7894 MB / 0.8115 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.6841, allocations: 1.173 MB / 0.8127 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.685, allocations: 0.5934 MB / 0.8132 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.6855, allocations: 434.2 kB / 0.8136 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.686, allocations: 433.6 kB / 0.8141 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.6861, allocations: 103.1 kB / 0.8142 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.6868, allocations: 477.7 kB / 0.8146 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.687, allocations: 267 kB / 0.8149 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.6874, allocations: 497.3 kB / 0.8153 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.6887, allocations: 1.47 MB / 0.8168 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6887, allocations: 2.969 kB / 0.8168 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6887, allocations: 4 kB / 0.8168 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.6888, allocations: 0 / 0.8168 GB, free: 9.898 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00204/0.6908, allocations: 1.313 MB / 0.8181 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6909, allocations: 13.47 kB / 0.8181 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.691, allocations: 129.3 kB / 0.8182 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/0.6918, allocations: 175.1 kB / 0.8184 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.6928, allocations: 0.7247 MB / 0.8191 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.6929, allocations: 57.94 kB / 0.8191 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.693, allocations: 81.45 kB / 0.8192 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6942, allocations: 0.8499 MB / 0.82 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.6943, allocations: 0 / 0.82 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.6943, allocations: 32.09 kB / 0.8201 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6944, allocations: 20.88 kB / 0.8201 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.6958, allocations: 1.052 MB / 0.8211 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.6991, allocations: 2.323 MB / 0.8234 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.7003, allocations: 0.7036 MB / 0.8241 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.7008, allocations: 263.8 kB / 0.8243 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.7009, allocations: 37.27 kB / 0.8244 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000674/0.7016, allocations: 415.9 kB / 0.8248 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=71): time 1.934e-06/0.7016, allocations: 0 / 0.8248 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71): time 0.002758/0.7043, allocations: 1.064 MB / 0.8258 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.7045, allocations: 194.4 kB / 0.826 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.7051, allocations: 0.584 MB / 0.8266 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.7052, allocations: 40.61 kB / 0.8266 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.7054, allocations: 377.2 kB / 0.827 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7056, allocations: 238.2 kB / 0.8272 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.7058, allocations: 129.2 kB / 0.8273 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.706, allocations: 385.1 kB / 0.8277 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.7063, allocations: 202.8 kB / 0.8279 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.7068, allocations: 325.9 kB / 0.8282 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.7077, allocations: 0.5182 MB / 0.8287 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7077, allocations: 1.188 kB / 0.8287 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001575/0.7093, allocations: 0.7126 MB / 0.8294 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.7093, allocations: 9.109 kB / 0.8294 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7093, allocations: 5.969 kB / 0.8294 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.71, allocations: 79.48 kB / 0.8295 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.7105, allocations: 140.4 kB / 0.8296 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.7127, allocations: 1.624 MB / 0.8312 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.7134, allocations: 82.61 kB / 0.8313 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.7134, allocations: 23.14 kB / 0.8313 GB, free: 15.86 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 (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.0004654/0.7139, allocations: 245.9 kB / 0.8315 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7141, allocations: 85.59 kB / 0.8316 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.7163, allocations: 0.9672 MB / 0.8326 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.7163, allocations: 7.281 kB / 0.8326 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7163, allocations: 0 / 0.8326 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7163, allocations: 6.797 kB / 0.8326 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.7174, allocations: 0.8215 MB / 0.8334 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.7174, allocations: 0 / 0.8334 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.7179, allocations: 137.8 kB / 0.8335 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.7184, allocations: 74.16 kB / 0.8336 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.7184, allocations: 23.27 kB / 0.8336 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.7203, allocations: 1.649 MB / 0.8352 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7204, allocations: 0 / 0.8352 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.7221, allocations: 0.8278 MB / 0.836 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.7225, allocations: 251.1 kB / 0.8362 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7226, allocations: 20.97 kB / 0.8363 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.7231, allocations: 56.58 kB / 0.8363 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7233, allocations: 63.81 kB / 0.8364 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.7233, allocations: 27.42 kB / 0.8364 GB, free: 12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005488/0.7239, allocations: 430 kB / 0.8368 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7239, allocations: 0 / 0.8368 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007636/0.7247, allocations: 273.1 kB / 0.8371 GB, free: 11.67 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 (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.003241/0.7279, allocations: 1.889 MB / 0.8389 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.7294, allocations: 0.7102 MB / 0.8396 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7295, allocations: 4.062 kB / 0.8396 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/0.7303, allocations: 484 kB / 0.8401 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.7315, allocations: 294 kB / 0.8404 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.742, allocations: 5.727 MB / 0.846 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.7427, allocations: 0.9954 MB / 0.8469 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008196/0.7435, allocations: 248.9 kB / 0.8472 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.744, allocations: 347.3 kB / 0.8475 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/0.744, allocations: 0 / 0.8475 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.7947, allocations: 20 MB / 0.867 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.94, allocations: 7.797 kB / 0.867 GB, free: 15.51 MB / 0.6387 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)