Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.00112/0.00112, 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.001182/0.001182, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 60.38 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1377, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005957/0.1437, allocations: 4.9 MB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3484/0.4922, allocations: 148.6 MB / 0.7337 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.4929, allocations: 22.19 kB / 0.7337 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.4935, allocations: 149.2 kB / 0.7339 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.495, allocations: 0.4887 MB / 0.7343 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.4967, allocations: 0.7784 MB / 0.7351 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.4979, allocations: 1.47 MB / 0.7365 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.4991, allocations: 1.03 MB / 0.7375 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.4997, allocations: 0.6091 MB / 0.7381 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.5003, allocations: 0.6955 MB / 0.7388 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5004, allocations: 103 kB / 0.7389 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.5012, allocations: 444.9 kB / 0.7393 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.5015, allocations: 346.6 kB / 0.7397 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.502, allocations: 0.7055 MB / 0.7404 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.5035, allocations: 2.07 MB / 0.7424 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5035, allocations: 1.5 kB / 0.7424 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5035, allocations: 0 / 0.7424 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.5036, allocations: 0 / 0.7424 GB, free: 8.301 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.002741/0.5063, allocations: 1.788 MB / 0.7441 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5063, allocations: 8.656 kB / 0.7441 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.5065, allocations: 212.5 kB / 0.7443 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.5075, allocations: 238.4 kB / 0.7446 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.5085, allocations: 0.8776 MB / 0.7454 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.5086, allocations: 104.4 kB / 0.7455 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.5087, allocations: 135.1 kB / 0.7456 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.5107, allocations: 1.433 MB / 0.747 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5108, allocations: 3.984 kB / 0.7471 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.5109, allocations: 67.41 kB / 0.7471 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.5109, allocations: 34.19 kB / 0.7471 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.513, allocations: 1.514 MB / 0.7486 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.518, allocations: 3.777 MB / 0.7523 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5195, allocations: 0.9609 MB / 0.7533 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.5201, allocations: 396.3 kB / 0.7536 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.654e-05/0.5202, allocations: 49.06 kB / 0.7537 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009546/0.5212, allocations: 0.5826 MB / 0.7542 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.154e-06/0.5212, allocations: 0 / 0.7542 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003398/0.5246, allocations: 1.473 MB / 0.7557 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.5247, allocations: 194.2 kB / 0.7559 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.5255, allocations: 0.759 MB / 0.7566 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.5256, allocations: 49.7 kB / 0.7567 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.5259, allocations: 0.5543 MB / 0.7572 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.5261, allocations: 339 kB / 0.7575 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.5264, allocations: 202.5 kB / 0.7577 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.5265, allocations: 349.9 kB / 0.7581 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.5271, allocations: 333.8 kB / 0.7584 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/0.5278, allocations: 466.4 kB / 0.7588 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5291, allocations: 0.8078 MB / 0.7596 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5291, allocations: 0 / 0.7596 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002141/0.5313, allocations: 1.067 MB / 0.7606 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5313, allocations: 4 kB / 0.7607 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5313, allocations: 8.75 kB / 0.7607 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.5319, allocations: 80.72 kB / 0.7607 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.5328, allocations: 219.6 kB / 0.7609 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.5347, allocations: 1.536 MB / 0.7624 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.5354, allocations: 107.1 kB / 0.7625 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.5355, allocations: 43.95 kB / 0.7626 GB, free: 5.574 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.0004019/0.5359, allocations: 309.6 kB / 0.7629 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5361, allocations: 106.6 kB / 0.763 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.539, allocations: 1.386 MB / 0.7643 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.539, allocations: 16 kB / 0.7644 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.539, allocations: 0 / 0.7644 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.539, allocations: 3.984 kB / 0.7644 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.5427, allocations: 2.564 MB / 0.7669 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5427, allocations: 3.984 kB / 0.7669 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.5435, allocations: 187.7 kB / 0.767 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/0.544, allocations: 88.77 kB / 0.7671 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.5441, allocations: 27.98 kB / 0.7672 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.5457, allocations: 1.558 MB / 0.7687 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5458, allocations: 3.938 kB / 0.7687 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.5479, allocations: 1.164 MB / 0.7698 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.5483, allocations: 323.4 kB / 0.7701 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5484, allocations: 31.84 kB / 0.7702 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.5491, allocations: 67.3 kB / 0.7702 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.5493, allocations: 72.89 kB / 0.7703 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.5494, allocations: 43.97 kB / 0.7703 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006903/0.5501, allocations: 0.5693 MB / 0.7709 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.134e-06/0.5501, allocations: 0 / 0.7709 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009365/0.551, allocations: 406.6 kB / 0.7713 GB, free: 12.43 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 (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.003451/0.5545, allocations: 2.22 MB / 0.7734 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.5563, allocations: 1.005 MB / 0.7744 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5563, allocations: 4.188 kB / 0.7744 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.5572, allocations: 0.6017 MB / 0.775 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.5584, allocations: 283.1 kB / 0.7753 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.572, allocations: 9.134 MB / 0.7842 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.5727, allocations: 1.167 MB / 0.7853 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008614/0.5736, allocations: 296.4 kB / 0.7856 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.5742, allocations: 0.5422 MB / 0.7862 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.5743, allocations: 0 / 0.7862 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/0.7428, allocations: 25.01 MB / 0.8106 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.743, allocations: 307.8 kB / 0.8109 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.016, allocations: 0 / 0.8109 GB, free: 4.008 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)