Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.000713/0.0007129, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004104/0.004104, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7222/0.7222, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3472, allocations: 81.57 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003853/0.3511, allocations: 3.784 MB / 0.5874 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.145/0.4961, allocations: 146.7 MB / 0.7307 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.4966, allocations: 19.88 kB / 0.7307 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.497, allocations: 139 kB / 0.7309 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.498, allocations: 412.8 kB / 0.7313 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.4994, allocations: 0.6831 MB / 0.7319 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.5004, allocations: 1.129 MB / 0.733 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/0.5011, allocations: 0.594 MB / 0.7336 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.5015, allocations: 318.4 kB / 0.7339 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.5019, allocations: 346 kB / 0.7343 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.502, allocations: 24 kB / 0.7343 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.5025, allocations: 363.6 kB / 0.7346 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.5027, allocations: 179.1 kB / 0.7348 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.503, allocations: 431 kB / 0.7352 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5041, allocations: 1.37 MB / 0.7365 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5041, allocations: 0 / 0.7365 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5041, allocations: 0 / 0.7365 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.5041, allocations: 0 / 0.7365 GB, free: 3.266 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001749/0.5059, allocations: 1.14 MB / 0.7377 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5059, allocations: 12.03 kB / 0.7377 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5061, allocations: 135.3 kB / 0.7378 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.5069, allocations: 183.4 kB / 0.738 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.5078, allocations: 0.7187 MB / 0.7387 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5078, allocations: 62 kB / 0.7387 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.5079, allocations: 80 kB / 0.7388 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5093, allocations: 0.8872 MB / 0.7397 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5093, allocations: 0 / 0.7397 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.5094, allocations: 32 kB / 0.7397 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.5094, allocations: 20 kB / 0.7397 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.511, allocations: 1.108 MB / 0.7408 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.5144, allocations: 2.535 MB / 0.7433 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5156, allocations: 0.7414 MB / 0.744 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.5161, allocations: 294.7 kB / 0.7443 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.5162, allocations: 40.47 kB / 0.7443 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000722/0.5169, allocations: 447.4 kB / 0.7448 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.854e-06/0.5169, allocations: 3.938 kB / 0.7448 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002809/0.5198, allocations: 1.127 MB / 0.7459 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.5199, allocations: 188.6 kB / 0.746 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.5205, allocations: 0.5941 MB / 0.7466 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.5206, allocations: 41.7 kB / 0.7467 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.5208, allocations: 392.2 kB / 0.747 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.521, allocations: 240.4 kB / 0.7473 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.5211, allocations: 61.62 kB / 0.7473 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5212, allocations: 390.7 kB / 0.7477 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.5217, allocations: 229.8 kB / 0.7479 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.5222, allocations: 346.2 kB / 0.7482 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.5232, allocations: 0.5667 MB / 0.7488 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5232, allocations: 0 / 0.7488 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001652/0.5249, allocations: 0.7627 MB / 0.7495 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5249, allocations: 4 kB / 0.7495 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5249, allocations: 8.062 kB / 0.7495 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5255, allocations: 80.77 kB / 0.7496 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.5261, allocations: 155.8 kB / 0.7498 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.528, allocations: 1.524 MB / 0.7513 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.5285, allocations: 87.41 kB / 0.7513 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.5286, allocations: 23.98 kB / 0.7514 GB, free: 3.543 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 (81): * Single equations (assignments): 80 * 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.0003328/0.5289, allocations: 257.7 kB / 0.7516 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.529, allocations: 83 kB / 0.7517 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5312, allocations: 1.038 MB / 0.7527 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.5312, allocations: 8 kB / 0.7527 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.5312, allocations: 0 / 0.7527 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5313, allocations: 7.984 kB / 0.7527 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.5341, allocations: 1.888 MB / 0.7546 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5341, allocations: 0 / 0.7546 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.5346, allocations: 155.7 kB / 0.7547 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/0.5352, allocations: 88.72 kB / 0.7548 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.5352, allocations: 15.98 kB / 0.7548 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.5369, allocations: 1.559 MB / 0.7563 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5369, allocations: 3.984 kB / 0.7563 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.5386, allocations: 0.9375 MB / 0.7573 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5389, allocations: 271.8 kB / 0.7575 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.539, allocations: 16 kB / 0.7575 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.5396, allocations: 71.94 kB / 0.7576 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.5397, allocations: 60.86 kB / 0.7577 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.5398, allocations: 27.98 kB / 0.7577 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005505/0.5404, allocations: 447 kB / 0.7581 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5404, allocations: 4 kB / 0.7581 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008831/0.5413, allocations: 291.3 kB / 0.7584 GB, free: 12.09 MB / 0.5919 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.003203/0.5445, allocations: 1.986 MB / 0.7603 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.546, allocations: 0.7551 MB / 0.7611 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.546, allocations: 8.125 kB / 0.7611 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.5468, allocations: 0.4885 MB / 0.7616 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.548, allocations: 269.3 kB / 0.7618 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5595, allocations: 6.713 MB / 0.7684 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.5601, allocations: 1.007 MB / 0.7694 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008071/0.5609, allocations: 258.5 kB / 0.7696 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.5614, allocations: 359.3 kB / 0.7699 GB, free: 296 kB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/0.5614, allocations: 0 / 0.7699 GB, free: 296 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2097/0.7711, allocations: 19.19 MB / 0.7887 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.7714, allocations: 315.7 kB / 0.789 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.866, allocations: 0 / 0.789 GB, free: 13.14 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)