Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.003714/0.003714, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.0009897/0.0009898, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3073, allocations: 80.91 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004142/0.3115, allocations: 4.164 MB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.4462, allocations: 150.7 MB / 0.8153 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.4469, allocations: 15.94 kB / 0.8154 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.4475, allocations: 174.4 kB / 0.8155 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.449, allocations: 491.8 kB / 0.816 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.4508, allocations: 0.7999 MB / 0.8168 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.4519, allocations: 1.211 MB / 0.818 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.4527, allocations: 0.6215 MB / 0.8186 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.4533, allocations: 450.4 kB / 0.819 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.4538, allocations: 461.9 kB / 0.8194 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.4539, allocations: 104 kB / 0.8195 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.4546, allocations: 471.6 kB / 0.82 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.4549, allocations: 279.1 kB / 0.8202 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.4553, allocations: 0.505 MB / 0.8207 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.4568, allocations: 1.507 MB / 0.8222 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4568, allocations: 0 / 0.8222 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4568, allocations: 0 / 0.8222 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.586e-05/0.4568, allocations: 4 kB / 0.8222 GB, free: 15.12 MB / 0.6544 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.002114/0.4589, allocations: 1.35 MB / 0.8235 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.459, allocations: 8.031 kB / 0.8235 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.4591, allocations: 131.3 kB / 0.8237 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.46, allocations: 179.5 kB / 0.8238 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.461, allocations: 0.7304 MB / 0.8245 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.4611, allocations: 62 kB / 0.8246 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.4612, allocations: 84 kB / 0.8247 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4625, allocations: 0.8871 MB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4625, allocations: 4 kB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.4626, allocations: 36 kB / 0.8256 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.4626, allocations: 20 kB / 0.8256 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.4642, allocations: 1.096 MB / 0.8267 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.4676, allocations: 2.464 MB / 0.8291 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.4689, allocations: 0.7303 MB / 0.8298 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.4694, allocations: 282.7 kB / 0.8301 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.4695, allocations: 40.53 kB / 0.8301 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.4702, allocations: 447.3 kB / 0.8305 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.366e-06/0.4702, allocations: 0 / 0.8305 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002817/0.473, allocations: 1.116 MB / 0.8316 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.4731, allocations: 192.6 kB / 0.8318 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.4737, allocations: 0.594 MB / 0.8324 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.4738, allocations: 41.7 kB / 0.8324 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.474, allocations: 380.3 kB / 0.8328 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4742, allocations: 252.3 kB / 0.833 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.4744, allocations: 146.5 kB / 0.8332 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4745, allocations: 382.7 kB / 0.8335 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.475, allocations: 229.9 kB / 0.8338 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.4755, allocations: 346.1 kB / 0.8341 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.4765, allocations: 0.555 MB / 0.8346 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4765, allocations: 0 / 0.8346 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001677/0.4782, allocations: 0.7549 MB / 0.8354 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4782, allocations: 8.094 kB / 0.8354 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4782, allocations: 4 kB / 0.8354 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.4788, allocations: 84.77 kB / 0.8355 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.4794, allocations: 143.8 kB / 0.8356 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.4812, allocations: 1.626 MB / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.4818, allocations: 87.27 kB / 0.8373 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.4818, allocations: 28.05 kB / 0.8373 GB, free: 15.14 MB / 0.67 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.0002987/0.4821, allocations: 258.9 kB / 0.8375 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4823, allocations: 79.06 kB / 0.8376 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.4844, allocations: 1.018 MB / 0.8386 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4845, allocations: 8 kB / 0.8386 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4845, allocations: 0 / 0.8386 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4845, allocations: 7.922 kB / 0.8386 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.4873, allocations: 1.882 MB / 0.8405 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.4874, allocations: 4 kB / 0.8405 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4879, allocations: 143.8 kB / 0.8406 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/0.4883, allocations: 76.72 kB / 0.8407 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.4884, allocations: 23.98 kB / 0.8407 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.4901, allocations: 1.666 MB / 0.8423 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4901, allocations: 3.938 kB / 0.8423 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.4918, allocations: 0.9316 MB / 0.8432 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4921, allocations: 255.8 kB / 0.8435 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.4923, allocations: 20 kB / 0.8435 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.4928, allocations: 57.97 kB / 0.8436 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4929, allocations: 56.92 kB / 0.8436 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.493, allocations: 31.98 kB / 0.8436 GB, free: 8.363 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004684/0.4935, allocations: 447 kB / 0.8441 GB, free: 7.934 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4935, allocations: 0 / 0.8441 GB, free: 7.934 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006706/0.4942, allocations: 287.3 kB / 0.8443 GB, free: 7.652 MB / 0.67 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.003035/0.4972, allocations: 1.99 MB / 0.8463 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.4986, allocations: 0.7472 MB / 0.847 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4986, allocations: 192 / 0.847 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.4994, allocations: 0.4963 MB / 0.8475 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5005, allocations: 289.9 kB / 0.8478 GB, free: 4.281 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.5098, allocations: 6.042 MB / 0.8537 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.5103, allocations: 1.011 MB / 0.8547 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006465/0.511, allocations: 258.5 kB / 0.8549 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.5114, allocations: 363.2 kB / 0.8553 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of SimCode: time 1.543e-06/0.5114, allocations: 0 / 0.8553 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.29/5.801, allocations: 20.4 MB / 0.8752 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/21.91, allocations: 6.453 kB / 0.8752 GB, free: 190.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)