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.001528/0.001528, 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.001774/0.001774, allocations: 191.9 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 1.808/1.808, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.741/1.741, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 63.19 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2265, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.01046/0.237, allocations: 4.106 MB / 0.5885 GB, free: 328 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6152/0.8523, allocations: 150.4 MB / 0.7354 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.8533, allocations: 18.28 kB / 0.7354 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009561/0.8543, allocations: 164.8 kB / 0.7356 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.857, allocations: 471 kB / 0.736 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.8606, allocations: 0.7848 MB / 0.7368 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.8628, allocations: 1.163 MB / 0.7379 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.8644, allocations: 0.5984 MB / 0.7385 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.8654, allocations: 422.1 kB / 0.7389 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.8664, allocations: 439.4 kB / 0.7393 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.8668, allocations: 108.1 kB / 0.7394 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.8683, allocations: 441.2 kB / 0.7399 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.8688, allocations: 267 kB / 0.7401 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009379/0.8697, allocations: 0.4905 MB / 0.7406 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.8727, allocations: 1.434 MB / 0.742 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8727, allocations: 0.9062 kB / 0.742 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8727, allocations: 0 / 0.742 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.919e-05/0.8728, allocations: 0 / 0.742 GB, free: 8.586 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.004152/0.8769, allocations: 1.312 MB / 0.7433 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.877, allocations: 12.88 kB / 0.7433 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002994/0.8773, allocations: 130.6 kB / 0.7434 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.8791, allocations: 172.6 kB / 0.7436 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.8811, allocations: 0.7095 MB / 0.7443 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.8813, allocations: 61.62 kB / 0.7443 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.8815, allocations: 74.88 kB / 0.7444 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.8843, allocations: 0.8572 MB / 0.7452 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.8844, allocations: 0 / 0.7452 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.8846, allocations: 33.62 kB / 0.7453 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.8846, allocations: 22.5 kB / 0.7453 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.8877, allocations: 1.054 MB / 0.7463 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00671/0.8945, allocations: 2.345 MB / 0.7486 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.8969, allocations: 0.7062 MB / 0.7493 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.8977, allocations: 264.3 kB / 0.7496 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.8979, allocations: 28.11 kB / 0.7496 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.8993, allocations: 422.5 kB / 0.75 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 5.27e-06/0.8994, allocations: 4 kB / 0.75 GB, free: 3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.005669/0.905, allocations: 1.065 MB / 0.751 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.9052, allocations: 188.6 kB / 0.7512 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.9067, allocations: 0.5823 MB / 0.7518 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.9068, allocations: 43.58 kB / 0.7518 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.9074, allocations: 384.2 kB / 0.7522 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.9078, allocations: 224.7 kB / 0.7524 GB, free: 460 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.9082, allocations: 134.2 kB / 0.7525 GB, free: 316 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000272/0.9085, allocations: 378.8 kB / 0.7529 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/0.9094, allocations: 221.1 kB / 0.7531 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.9105, allocations: 310.8 kB / 0.7534 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.9124, allocations: 0.5199 MB / 0.7539 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9125, allocations: 0 / 0.7539 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003427/0.9159, allocations: 0.7171 MB / 0.7546 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.916, allocations: 4 kB / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.916, allocations: 3.938 kB / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.9171, allocations: 84.78 kB / 0.7547 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9183, allocations: 135.8 kB / 0.7548 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.922, allocations: 1.631 MB / 0.7564 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9232, allocations: 79.33 kB / 0.7565 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.9234, allocations: 24.53 kB / 0.7565 GB, free: 12.03 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.0007537/0.9242, allocations: 247 kB / 0.7567 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.9246, allocations: 79.19 kB / 0.7568 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.9288, allocations: 0.964 MB / 0.7578 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.9288, allocations: 8 kB / 0.7578 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.9289, allocations: 4 kB / 0.7578 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.9289, allocations: 3.984 kB / 0.7578 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.9309, allocations: 0.8273 MB / 0.7586 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.9309, allocations: 4 kB / 0.7586 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.9321, allocations: 135.8 kB / 0.7587 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008175/0.933, allocations: 72.78 kB / 0.7588 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.9331, allocations: 23.98 kB / 0.7588 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/0.9365, allocations: 1.658 MB / 0.7604 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9365, allocations: 0.5625 kB / 0.7604 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.9401, allocations: 0.8264 MB / 0.7612 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.9408, allocations: 251.8 kB / 0.7615 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.941, allocations: 19.94 kB / 0.7615 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9422, allocations: 59.94 kB / 0.7616 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.9424, allocations: 52.92 kB / 0.7616 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.9425, allocations: 35.64 kB / 0.7616 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001048/0.9436, allocations: 435 kB / 0.7621 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9436, allocations: 0 / 0.7621 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001419/0.945, allocations: 283.2 kB / 0.7623 GB, free: 5.82 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.006197/0.9513, allocations: 1.861 MB / 0.7641 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.9554, allocations: 0.891 MB / 0.765 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9554, allocations: 0 / 0.765 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.957, allocations: 484.7 kB / 0.7655 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.9595, allocations: 294.6 kB / 0.7658 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/0.9798, allocations: 5.914 MB / 0.7715 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.9809, allocations: 0.9975 MB / 0.7725 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001824/0.9827, allocations: 250 kB / 0.7727 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009958/0.9838, allocations: 346.8 kB / 0.7731 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/0.9838, allocations: 0 / 0.7731 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2534/1.237, allocations: 19.43 MB / 0.792 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.91/26.15, allocations: 0 / 0.792 GB, free: 7.793 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)