Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123/0.00123, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6612/0.6612, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 63.94 kB / 0.5013 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2885, allocations: 80.2 MB / 0.5797 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004639/0.2932, allocations: 4.916 MB / 0.5845 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1273/0.4205, allocations: 148.7 MB / 0.7297 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/0.4214, allocations: 19.94 kB / 0.7297 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.4219, allocations: 146.8 kB / 0.7298 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.4233, allocations: 0.5046 MB / 0.7303 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4249, allocations: 0.8044 MB / 0.7311 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.4259, allocations: 1.581 MB / 0.7326 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.4269, allocations: 1.067 MB / 0.7337 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.4275, allocations: 0.6888 MB / 0.7344 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.428, allocations: 0.7311 MB / 0.7351 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4282, allocations: 172 kB / 0.7352 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.4288, allocations: 0.5113 MB / 0.7357 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.429, allocations: 418.6 kB / 0.7361 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.4295, allocations: 0.785 MB / 0.7369 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.4309, allocations: 2.13 MB / 0.739 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4309, allocations: 0 / 0.739 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4309, allocations: 0 / 0.739 GB, free: 14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.4309, allocations: 0 / 0.739 GB, free: 14 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002416/0.4334, allocations: 1.79 MB / 0.7407 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.4334, allocations: 8.031 kB / 0.7407 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.4336, allocations: 215.3 kB / 0.7409 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.4344, allocations: 230.8 kB / 0.7412 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.4353, allocations: 0.8874 MB / 0.742 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.4354, allocations: 102.9 kB / 0.7421 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4355, allocations: 144 kB / 0.7423 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.4374, allocations: 1.428 MB / 0.7437 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4375, allocations: 0 / 0.7437 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.4376, allocations: 60 kB / 0.7437 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.4376, allocations: 32 kB / 0.7437 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.4396, allocations: 1.517 MB / 0.7452 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.4442, allocations: 3.786 MB / 0.7489 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.4455, allocations: 0.9586 MB / 0.7499 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.4461, allocations: 395.7 kB / 0.7502 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/0.4462, allocations: 53.06 kB / 0.7503 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/0.4471, allocations: 0.5747 MB / 0.7508 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.074e-06/0.4471, allocations: 0 / 0.7508 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003117/0.4502, allocations: 1.477 MB / 0.7523 GB, free: 76 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.4503, allocations: 197.1 kB / 0.7525 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.451, allocations: 0.7667 MB / 0.7532 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.4511, allocations: 45.7 kB / 0.7533 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4514, allocations: 0.5543 MB / 0.7538 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.4516, allocations: 350.9 kB / 0.7541 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.4518, allocations: 190.5 kB / 0.7543 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.4519, allocations: 345.9 kB / 0.7547 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.4525, allocations: 337.8 kB / 0.755 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.4531, allocations: 462.5 kB / 0.7554 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4543, allocations: 0.8117 MB / 0.7562 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4544, allocations: 0 / 0.7562 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001964/0.4563, allocations: 1.071 MB / 0.7573 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4563, allocations: 7.938 kB / 0.7573 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4564, allocations: 4.062 kB / 0.7573 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.4569, allocations: 84.83 kB / 0.7574 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.4578, allocations: 211.7 kB / 0.7576 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4595, allocations: 1.644 MB / 0.7592 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.4601, allocations: 107.1 kB / 0.7593 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.4602, allocations: 47.95 kB / 0.7593 GB, free: 8.609 MB / 0.5919 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 (117): * Single equations (assignments): 116 * 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.0003561/0.4606, allocations: 305.6 kB / 0.7596 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.4607, allocations: 102.7 kB / 0.7597 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.4634, allocations: 1.4 MB / 0.7611 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4634, allocations: 12 kB / 0.7611 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4634, allocations: 0 / 0.7611 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4635, allocations: 11.91 kB / 0.7611 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.4668, allocations: 2.563 MB / 0.7636 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4668, allocations: 0 / 0.7636 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.4675, allocations: 195.7 kB / 0.7638 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.4679, allocations: 72.78 kB / 0.7638 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.468, allocations: 27.98 kB / 0.7639 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.4695, allocations: 1.677 MB / 0.7655 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4696, allocations: 0 / 0.7655 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4714, allocations: 1.167 MB / 0.7666 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.4717, allocations: 323.4 kB / 0.767 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4719, allocations: 23.94 kB / 0.767 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.4725, allocations: 62.42 kB / 0.767 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4727, allocations: 84.81 kB / 0.7671 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.4727, allocations: 39.98 kB / 0.7672 GB, free: 308 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005711/0.4733, allocations: 0.5732 MB / 0.7677 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4733, allocations: 4 kB / 0.7677 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007232/0.474, allocations: 398.6 kB / 0.7681 GB, free: 15.34 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.003114/0.4772, allocations: 2.213 MB / 0.7703 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.4796, allocations: 1.257 MB / 0.7715 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4796, allocations: 0 / 0.7715 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.4805, allocations: 0.6212 MB / 0.7721 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4816, allocations: 310.5 kB / 0.7724 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.4939, allocations: 9.13 MB / 0.7813 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.4944, allocations: 1.162 MB / 0.7824 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007655/0.4952, allocations: 300.3 kB / 0.7827 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.4958, allocations: 0.5462 MB / 0.7833 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.4958, allocations: 0 / 0.7833 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8056/1.301, allocations: 25.71 MB / 0.8084 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.302, allocations: 290.5 kB / 0.8086 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.646, allocations: 7.391 kB / 0.8087 GB, free: 5.969 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)