Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.001434/0.001434, allocations: 108 kB / 15.61 MB, free: 152 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.001684/0.001684, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.268/1.268, 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-master/package.mo): time 0.8375/0.8375, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.7 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005239/0.136, allocations: 4.107 MB / 0.5885 GB, free: 356 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3559/0.4919, allocations: 150.4 MB / 0.7354 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.4925, allocations: 19.03 kB / 0.7354 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.4931, allocations: 169.3 kB / 0.7356 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.4946, allocations: 471.2 kB / 0.736 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.4963, allocations: 0.7808 MB / 0.7368 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.4975, allocations: 1.162 MB / 0.7379 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.4983, allocations: 0.6028 MB / 0.7385 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.4988, allocations: 418.4 kB / 0.7389 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.4993, allocations: 437.2 kB / 0.7393 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.4994, allocations: 102.7 kB / 0.7394 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.5, allocations: 444.9 kB / 0.7399 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.5003, allocations: 266.7 kB / 0.7401 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.5006, allocations: 498.3 kB / 0.7406 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5018, allocations: 1.435 MB / 0.742 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5018, allocations: 4 kB / 0.742 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5018, allocations: 0 / 0.742 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.5018, allocations: 0 / 0.742 GB, free: 8.473 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001815/0.5036, allocations: 1.316 MB / 0.7433 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5037, allocations: 9.5 kB / 0.7433 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.5038, allocations: 127 kB / 0.7434 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.5046, allocations: 183.3 kB / 0.7436 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.5055, allocations: 0.7025 MB / 0.7443 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.5055, allocations: 56.81 kB / 0.7443 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.5056, allocations: 78.86 kB / 0.7444 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.5068, allocations: 0.8537 MB / 0.7452 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5068, allocations: 3.938 kB / 0.7452 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.5069, allocations: 32.62 kB / 0.7453 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.5069, allocations: 18.38 kB / 0.7453 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.5083, allocations: 1.059 MB / 0.7463 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.5112, allocations: 2.348 MB / 0.7486 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.5123, allocations: 0.7052 MB / 0.7493 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.5127, allocations: 268 kB / 0.7496 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.5128, allocations: 36 kB / 0.7496 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.5134, allocations: 419.2 kB / 0.75 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 1.713e-06/0.5135, allocations: 0 / 0.75 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002591/0.5161, allocations: 1.069 MB / 0.751 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.5161, allocations: 188.6 kB / 0.7512 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.5167, allocations: 0.5823 MB / 0.7518 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5168, allocations: 37.7 kB / 0.7518 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.517, allocations: 376.2 kB / 0.7522 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5171, allocations: 240.6 kB / 0.7524 GB, free: 348 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.5173, allocations: 134.2 kB / 0.7525 GB, free: 204 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5175, allocations: 378.8 kB / 0.7529 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.5178, allocations: 213.2 kB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.5183, allocations: 310.8 kB / 0.7534 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.5192, allocations: 0.5199 MB / 0.7539 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5192, allocations: 4 kB / 0.7539 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001516/0.5207, allocations: 0.7158 MB / 0.7546 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5207, allocations: 8 kB / 0.7546 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5207, allocations: 0 / 0.7546 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005377/0.5213, allocations: 84.83 kB / 0.7547 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.5218, allocations: 135.7 kB / 0.7548 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.5324, allocations: 1.626 MB / 0.7564 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.533, allocations: 79.36 kB / 0.7565 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.5331, allocations: 27.98 kB / 0.7565 GB, free: 11.92 MB / 0.5762 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.00035/0.5335, allocations: 251.1 kB / 0.7568 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.5336, allocations: 79 kB / 0.7568 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.5357, allocations: 0.9623 MB / 0.7578 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5357, allocations: 8 kB / 0.7578 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5358, allocations: 0 / 0.7578 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5358, allocations: 3.984 kB / 0.7578 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008096/0.5366, allocations: 0.8234 MB / 0.7586 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5366, allocations: 0 / 0.7586 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.5371, allocations: 143.8 kB / 0.7587 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.5376, allocations: 76.44 kB / 0.7588 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.5376, allocations: 19.98 kB / 0.7588 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.5393, allocations: 1.662 MB / 0.7604 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5393, allocations: 0 / 0.7604 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.541, allocations: 0.8264 MB / 0.7612 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.5413, allocations: 251.8 kB / 0.7615 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5414, allocations: 15.94 kB / 0.7615 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.542, allocations: 56 kB / 0.7616 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.5421, allocations: 56.92 kB / 0.7616 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.5421, allocations: 27.98 kB / 0.7616 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004572/0.5426, allocations: 431 kB / 0.762 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5426, allocations: 4 kB / 0.762 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006748/0.5433, allocations: 291.2 kB / 0.7623 GB, free: 5.719 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,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.003028/0.5463, allocations: 1.867 MB / 0.7641 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.5482, allocations: 0.8871 MB / 0.765 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5482, allocations: 0 / 0.765 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.549, allocations: 492.8 kB / 0.7655 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.55, allocations: 287.1 kB / 0.7658 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009311/0.5594, allocations: 5.912 MB / 0.7715 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.5599, allocations: 0.9975 MB / 0.7725 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007121/0.5606, allocations: 254 kB / 0.7727 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.561, allocations: 339.3 kB / 0.7731 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.561, allocations: 0 / 0.7731 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7194/1.28, allocations: 19.43 MB / 0.792 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.1, allocations: 12.78 kB / 0.7921 GB, free: 7.699 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)