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.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009979/0.0009979, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8437/0.8437, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 63.22 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005316/0.157, allocations: 4.122 MB / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3983/0.5553, allocations: 148.1 MB / 0.7325 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.556, allocations: 14.28 kB / 0.7325 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.5565, allocations: 135.8 kB / 0.7326 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.5578, allocations: 400.5 kB / 0.733 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.5594, allocations: 0.6744 MB / 0.7337 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.5605, allocations: 1.081 MB / 0.7347 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000833/0.5613, allocations: 0.5789 MB / 0.7353 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.5619, allocations: 373.9 kB / 0.7357 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.5623, allocations: 408.6 kB / 0.7361 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.5625, allocations: 51.12 kB / 0.7361 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.5633, allocations: 394.3 kB / 0.7365 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.5635, allocations: 218.8 kB / 0.7367 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.5639, allocations: 443.9 kB / 0.7371 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.5652, allocations: 1.389 MB / 0.7385 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5652, allocations: 0 / 0.7385 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.02e-07/0.5652, allocations: 5.062 kB / 0.7385 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5652, allocations: 4 kB / 0.7385 GB, free: 11.25 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.002056/0.5673, allocations: 1.309 MB / 0.7398 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5673, allocations: 9.938 kB / 0.7398 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.5675, allocations: 133.3 kB / 0.7399 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.5684, allocations: 175.5 kB / 0.7401 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/0.5693, allocations: 0.7005 MB / 0.7407 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.5693, allocations: 61.56 kB / 0.7408 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.5694, allocations: 82.86 kB / 0.7409 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.5708, allocations: 0.8512 MB / 0.7417 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5708, allocations: 3.938 kB / 0.7417 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.5709, allocations: 35.84 kB / 0.7417 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5709, allocations: 19.88 kB / 0.7418 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.5725, allocations: 1.053 MB / 0.7428 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.5757, allocations: 2.352 MB / 0.7451 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.5769, allocations: 0.7008 MB / 0.7458 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.5773, allocations: 266.3 kB / 0.746 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/0.5774, allocations: 34.91 kB / 0.7461 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000697/0.5781, allocations: 424.2 kB / 0.7465 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 2.415e-06/0.5781, allocations: 0 / 0.7465 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002759/0.5809, allocations: 1.057 MB / 0.7475 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.581, allocations: 193.9 kB / 0.7477 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.5817, allocations: 0.5866 MB / 0.7483 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.5817, allocations: 41.7 kB / 0.7483 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.582, allocations: 380.1 kB / 0.7487 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5822, allocations: 228.6 kB / 0.7489 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.5824, allocations: 138.2 kB / 0.749 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5826, allocations: 374.8 kB / 0.7494 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.583, allocations: 213.2 kB / 0.7496 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.5835, allocations: 322.7 kB / 0.7499 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.5844, allocations: 0.5159 MB / 0.7504 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5845, allocations: 3.562 kB / 0.7504 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001622/0.5861, allocations: 0.7197 MB / 0.7511 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5861, allocations: 4.094 kB / 0.7511 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5861, allocations: 4 kB / 0.7511 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.5867, allocations: 76.77 kB / 0.7512 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.5873, allocations: 139.8 kB / 0.7513 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.5893, allocations: 1.516 MB / 0.7528 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.5898, allocations: 85.92 kB / 0.7529 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.5899, allocations: 27.98 kB / 0.7529 GB, free: 15.49 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.0003585/0.5903, allocations: 241.7 kB / 0.7531 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5904, allocations: 75.06 kB / 0.7532 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.5925, allocations: 0.963 MB / 0.7541 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5925, allocations: 11.98 kB / 0.7541 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5926, allocations: 6.5 kB / 0.7542 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5926, allocations: 3.984 kB / 0.7542 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.5935, allocations: 0.8235 MB / 0.755 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5935, allocations: 7.938 kB / 0.755 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.594, allocations: 135.8 kB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.5945, allocations: 80.78 kB / 0.7552 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.5946, allocations: 23.98 kB / 0.7552 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.5964, allocations: 1.533 MB / 0.7567 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5964, allocations: 0 / 0.7567 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5981, allocations: 0.8264 MB / 0.7575 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.5984, allocations: 251.8 kB / 0.7577 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5986, allocations: 19.94 kB / 0.7578 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.5991, allocations: 56.62 kB / 0.7578 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5992, allocations: 64.91 kB / 0.7579 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.5993, allocations: 27.92 kB / 0.7579 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005014/0.5998, allocations: 427.1 kB / 0.7583 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.443e-06/0.5998, allocations: 4 kB / 0.7583 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007786/0.6006, allocations: 287.2 kB / 0.7586 GB, free: 9.418 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.003187/0.6038, allocations: 1.872 MB / 0.7604 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.6052, allocations: 0.7075 MB / 0.7611 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6052, allocations: 4 kB / 0.7611 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.606, allocations: 488.8 kB / 0.7616 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6071, allocations: 256.5 kB / 0.7618 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6178, allocations: 6.264 MB / 0.7679 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.6185, allocations: 0.9992 MB / 0.7689 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008235/0.6193, allocations: 258 kB / 0.7692 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.6198, allocations: 343.3 kB / 0.7695 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.6198, allocations: 0 / 0.7695 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.665/3.285, allocations: 18.76 MB / 0.7878 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/3.285, allocations: 310.8 kB / 0.7881 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/5.394, allocations: 2.344 kB / 0.7881 GB, free: 11.52 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)