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.0008646/0.0008646, 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.0008542/0.0008542, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.094/1.094, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6352/0.6352, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009993/0.0009993, allocations: 56.5 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1097, allocations: 80.2 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004558/0.1143, allocations: 4.189 MB / 0.5838 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2967/0.4111, allocations: 148.4 MB / 0.7287 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/0.4116, allocations: 18.81 kB / 0.7287 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.412, allocations: 138.2 kB / 0.7289 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.4131, allocations: 434.5 kB / 0.7293 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.4144, allocations: 0.7031 MB / 0.73 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008252/0.4152, allocations: 1.211 MB / 0.7311 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006358/0.4159, allocations: 0.6263 MB / 0.7317 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.4163, allocations: 444.3 kB / 0.7322 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.4167, allocations: 462.3 kB / 0.7326 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.4168, allocations: 104.6 kB / 0.7327 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.4173, allocations: 451.3 kB / 0.7331 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.4175, allocations: 280.2 kB / 0.7334 GB, free: 436 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.4178, allocations: 0.5051 MB / 0.7339 GB, free: 80 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.4189, allocations: 1.464 MB / 0.7353 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4189, allocations: 0 / 0.7353 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4189, allocations: 0 / 0.7353 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4189, allocations: 3.938 kB / 0.7353 GB, free: 15.46 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.001695/0.4206, allocations: 1.34 MB / 0.7366 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.4206, allocations: 13.44 kB / 0.7367 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.4207, allocations: 136.6 kB / 0.7368 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.4215, allocations: 183.3 kB / 0.737 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.4222, allocations: 0.7023 MB / 0.7376 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.4222, allocations: 62.66 kB / 0.7377 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4223, allocations: 83.69 kB / 0.7378 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4235, allocations: 0.8913 MB / 0.7387 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4235, allocations: 0 / 0.7387 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.4236, allocations: 40.44 kB / 0.7387 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4236, allocations: 20 kB / 0.7387 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.4249, allocations: 1.094 MB / 0.7398 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.4278, allocations: 2.503 MB / 0.7422 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.4287, allocations: 0.7275 MB / 0.7429 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.4291, allocations: 288.7 kB / 0.7432 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.4292, allocations: 36.17 kB / 0.7433 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/0.4299, allocations: 446.6 kB / 0.7437 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.4299, allocations: 7.547 kB / 0.7437 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002419/0.4323, allocations: 1.114 MB / 0.7448 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.4324, allocations: 196.6 kB / 0.745 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.4329, allocations: 0.5979 MB / 0.7455 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.433, allocations: 37.7 kB / 0.7456 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.4332, allocations: 376.3 kB / 0.7459 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.4333, allocations: 256.3 kB / 0.7462 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4335, allocations: 142.5 kB / 0.7463 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4336, allocations: 390.7 kB / 0.7467 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.434, allocations: 229.9 kB / 0.7469 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.4344, allocations: 334.2 kB / 0.7472 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.4353, allocations: 0.5628 MB / 0.7478 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4353, allocations: 0 / 0.7478 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001458/0.4367, allocations: 0.751 MB / 0.7485 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4368, allocations: 6.188 kB / 0.7485 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.4368, allocations: 4 kB / 0.7485 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.4373, allocations: 84.83 kB / 0.7486 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.4378, allocations: 143.8 kB / 0.7487 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.4394, allocations: 1.633 MB / 0.7503 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.4399, allocations: 80.31 kB / 0.7504 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.44, allocations: 27.98 kB / 0.7504 GB, free: 3.691 MB / 0.5606 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.0002702/0.4403, allocations: 255.3 kB / 0.7507 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4404, allocations: 83 kB / 0.7508 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.4424, allocations: 1.028 MB / 0.7518 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4424, allocations: 12 kB / 0.7518 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4424, allocations: 0 / 0.7518 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4425, allocations: 7.984 kB / 0.7518 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.445, allocations: 1.886 MB / 0.7536 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.445, allocations: 0 / 0.7536 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.4456, allocations: 151.8 kB / 0.7538 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000405/0.446, allocations: 68.8 kB / 0.7538 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.446, allocations: 23.64 kB / 0.7539 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.4476, allocations: 1.662 MB / 0.7555 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4476, allocations: 3.938 kB / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.4492, allocations: 0.9258 MB / 0.7564 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.4494, allocations: 259.8 kB / 0.7566 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4495, allocations: 20.88 kB / 0.7567 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.4501, allocations: 55.94 kB / 0.7567 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4502, allocations: 60.92 kB / 0.7568 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.4503, allocations: 39.91 kB / 0.7568 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004142/0.4507, allocations: 447 kB / 0.7572 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4507, allocations: 0 / 0.7572 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006232/0.4513, allocations: 287.2 kB / 0.7575 GB, free: 12.2 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.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.002816/0.4541, allocations: 1.98 MB / 0.7594 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.4559, allocations: 0.9501 MB / 0.7604 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4559, allocations: 0 / 0.7604 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.4566, allocations: 496.3 kB / 0.7608 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.4576, allocations: 279.6 kB / 0.7611 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/0.4666, allocations: 6.622 MB / 0.7676 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.4671, allocations: 1.012 MB / 0.7686 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006139/0.4677, allocations: 258.5 kB / 0.7688 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.4681, allocations: 363.3 kB / 0.7692 GB, free: 348 kB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4681, allocations: 4 kB / 0.7692 GB, free: 344 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6594/1.127, allocations: 20.02 MB / 0.7887 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/1.128, allocations: 301.8 kB / 0.789 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.271, allocations: 2.5 kB / 0.789 GB, free: 12.36 MB / 0.6075 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)