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.001468/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001811/0.001811, allocations: 193.4 kB / 16.13 MB, free: 6.66 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7158/0.7158, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 59.38 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1469, allocations: 80.19 MB / 0.5795 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006884/0.1538, allocations: 4.912 MB / 0.5843 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4223/0.5761, allocations: 148.6 MB / 0.7294 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009196/0.5771, allocations: 22.28 kB / 0.7294 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.5778, allocations: 154 kB / 0.7296 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.5799, allocations: 0.4992 MB / 0.73 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.5824, allocations: 0.7771 MB / 0.7308 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.5843, allocations: 1.479 MB / 0.7322 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.5856, allocations: 1.03 MB / 0.7332 GB, free: 408 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5866, allocations: 0.6056 MB / 0.7338 GB, free: 100 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.5877, allocations: 0.6932 MB / 0.7345 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.5879, allocations: 103 kB / 0.7346 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5889, allocations: 443.9 kB / 0.735 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.5893, allocations: 350.7 kB / 0.7354 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.5901, allocations: 0.7098 MB / 0.7361 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.5926, allocations: 2.063 MB / 0.7381 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5927, allocations: 3.938 kB / 0.7381 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5927, allocations: 2.906 kB / 0.7381 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.181e-05/0.5927, allocations: 0 / 0.7381 GB, free: 13.75 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003658/0.5964, allocations: 1.78 MB / 0.7398 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5964, allocations: 9.031 kB / 0.7398 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/0.5967, allocations: 214.8 kB / 0.74 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5977, allocations: 233.8 kB / 0.7403 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.599, allocations: 0.8902 MB / 0.7411 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.5991, allocations: 107.2 kB / 0.7412 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.5993, allocations: 136.1 kB / 0.7414 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.6016, allocations: 1.427 MB / 0.7428 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.6017, allocations: 0 / 0.7428 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.6018, allocations: 56.91 kB / 0.7428 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6018, allocations: 38.12 kB / 0.7428 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.6042, allocations: 1.52 MB / 0.7443 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/0.6101, allocations: 3.773 MB / 0.748 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.6118, allocations: 0.9619 MB / 0.749 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.6125, allocations: 399.7 kB / 0.7493 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.6126, allocations: 45.08 kB / 0.7494 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.6136, allocations: 0.5864 MB / 0.7499 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.465e-06/0.6136, allocations: 3.188 kB / 0.75 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003744/0.6174, allocations: 1.469 MB / 0.7514 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.6175, allocations: 192.9 kB / 0.7516 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009752/0.6185, allocations: 0.7629 MB / 0.7523 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.6186, allocations: 53.64 kB / 0.7524 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.619, allocations: 0.5504 MB / 0.7529 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.6193, allocations: 343 kB / 0.7532 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.6196, allocations: 206.4 kB / 0.7534 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6197, allocations: 345.9 kB / 0.7538 GB, free: 448 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.6203, allocations: 341.8 kB / 0.7541 GB, free: 104 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.6211, allocations: 458.5 kB / 0.7545 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.6225, allocations: 0.8117 MB / 0.7553 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6225, allocations: 4 kB / 0.7553 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002237/0.6248, allocations: 1.059 MB / 0.7564 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6248, allocations: 8 kB / 0.7564 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6248, allocations: 4.094 kB / 0.7564 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.6254, allocations: 84.7 kB / 0.7564 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.6264, allocations: 215.7 kB / 0.7567 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.6283, allocations: 1.526 MB / 0.7581 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.6291, allocations: 112 kB / 0.7582 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.6291, allocations: 43.97 kB / 0.7583 GB, free: 11.6 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 (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.00045/0.6296, allocations: 305.6 kB / 0.7586 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.6298, allocations: 110.6 kB / 0.7587 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.6328, allocations: 1.386 MB / 0.76 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.6329, allocations: 12 kB / 0.7601 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6329, allocations: 7.984 kB / 0.7601 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6329, allocations: 3.984 kB / 0.7601 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.6368, allocations: 2.563 MB / 0.7626 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6369, allocations: 4 kB / 0.7626 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/0.6377, allocations: 191.8 kB / 0.7628 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.6382, allocations: 80.78 kB / 0.7628 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.6383, allocations: 31.97 kB / 0.7629 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.6401, allocations: 1.563 MB / 0.7644 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6401, allocations: 3.938 kB / 0.7644 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.6425, allocations: 1.164 MB / 0.7655 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.6429, allocations: 327.4 kB / 0.7658 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.6431, allocations: 31.84 kB / 0.7659 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.6438, allocations: 59.94 kB / 0.7659 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.6439, allocations: 72.89 kB / 0.766 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/0.644, allocations: 43.92 kB / 0.766 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007448/0.6447, allocations: 0.5771 MB / 0.7666 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6448, allocations: 0 / 0.7666 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001043/0.6458, allocations: 394.7 kB / 0.767 GB, free: 2.453 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 (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.003803/0.6496, allocations: 2.23 MB / 0.7692 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.6516, allocations: 0.9974 MB / 0.7701 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6516, allocations: 4.188 kB / 0.7701 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6527, allocations: 0.6134 MB / 0.7707 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6541, allocations: 283.8 kB / 0.771 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.6701, allocations: 9.124 MB / 0.7799 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.6709, allocations: 1.169 MB / 0.7811 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001051/0.672, allocations: 296.4 kB / 0.7813 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/0.6728, allocations: 0.5422 MB / 0.7819 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.6728, allocations: 0 / 0.7819 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2656/0.9384, allocations: 25.02 MB / 0.8063 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003704/0.9388, allocations: 296 kB / 0.8066 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.798, allocations: 0 / 0.8066 GB, free: 10.07 MB / 0.6231 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)