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.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001801/0.001801, allocations: 198.6 kB / 16.14 MB, free: 6.688 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.124/1.124, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7736/0.7736, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 68.69 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1198, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004581/0.1244, allocations: 4.18 MB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3067/0.4312, allocations: 148.3 MB / 0.7327 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.4318, allocations: 15.81 kB / 0.7328 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.4323, allocations: 137.8 kB / 0.7329 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.4336, allocations: 410.9 kB / 0.7333 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.4351, allocations: 0.6876 MB / 0.734 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.4362, allocations: 1.129 MB / 0.7351 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007703/0.437, allocations: 0.5928 MB / 0.7356 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.4375, allocations: 395.6 kB / 0.736 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.4381, allocations: 435.7 kB / 0.7364 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4382, allocations: 52.75 kB / 0.7365 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.4389, allocations: 396.3 kB / 0.7369 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.4391, allocations: 225.2 kB / 0.7371 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.4395, allocations: 458.5 kB / 0.7375 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.4407, allocations: 1.423 MB / 0.7389 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4408, allocations: 3.312 kB / 0.7389 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4408, allocations: 4 kB / 0.7389 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.948e-05/0.4408, allocations: 0 / 0.7389 GB, free: 10.88 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.002045/0.4428, allocations: 1.349 MB / 0.7402 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4429, allocations: 9.125 kB / 0.7402 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.443, allocations: 131.7 kB / 0.7404 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.4438, allocations: 184.3 kB / 0.7405 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.4446, allocations: 0.7121 MB / 0.7412 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.4447, allocations: 59.25 kB / 0.7413 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.4447, allocations: 84.78 kB / 0.7414 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.446, allocations: 0.8879 MB / 0.7422 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.446, allocations: 1.375 kB / 0.7422 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.4461, allocations: 36.25 kB / 0.7423 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.4461, allocations: 19.25 kB / 0.7423 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.4475, allocations: 1.099 MB / 0.7434 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.4505, allocations: 2.495 MB / 0.7458 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.4515, allocations: 0.7298 MB / 0.7465 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.452, allocations: 290.5 kB / 0.7468 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.452, allocations: 32.27 kB / 0.7468 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.4527, allocations: 449.1 kB / 0.7472 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.583e-06/0.4527, allocations: 0 / 0.7472 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002542/0.4553, allocations: 1.111 MB / 0.7483 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.4553, allocations: 196.6 kB / 0.7485 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.4559, allocations: 0.594 MB / 0.7491 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.456, allocations: 41.7 kB / 0.7491 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.4562, allocations: 380.2 kB / 0.7495 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.4563, allocations: 256.3 kB / 0.7497 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.4565, allocations: 142.5 kB / 0.7499 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4567, allocations: 382.7 kB / 0.7502 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.4571, allocations: 233.9 kB / 0.7505 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.4575, allocations: 342.2 kB / 0.7508 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.4584, allocations: 0.5512 MB / 0.7513 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4584, allocations: 7.125 kB / 0.7513 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001529/0.46, allocations: 0.7549 MB / 0.7521 GB, free: 464 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.46, allocations: 4 kB / 0.7521 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.46, allocations: 4 kB / 0.7521 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.4605, allocations: 84.83 kB / 0.7522 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.4611, allocations: 143.8 kB / 0.7523 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4628, allocations: 1.528 MB / 0.7538 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.4634, allocations: 72.23 kB / 0.7539 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.4635, allocations: 31.98 kB / 0.7539 GB, free: 14.45 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 (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.000353/0.4638, allocations: 253.2 kB / 0.7541 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4639, allocations: 75.06 kB / 0.7542 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.466, allocations: 1.035 MB / 0.7552 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.466, allocations: 8 kB / 0.7552 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.466, allocations: 4 kB / 0.7552 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.466, allocations: 3.984 kB / 0.7552 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.4687, allocations: 1.88 MB / 0.7571 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4687, allocations: 0 / 0.7571 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.4692, allocations: 143.8 kB / 0.7572 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.4697, allocations: 88.7 kB / 0.7573 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.4698, allocations: 26.55 kB / 0.7573 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.4713, allocations: 1.548 MB / 0.7588 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4713, allocations: 4 kB / 0.7588 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.4729, allocations: 0.9296 MB / 0.7597 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.4732, allocations: 259.8 kB / 0.76 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4733, allocations: 16 kB / 0.76 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.4738, allocations: 59.94 kB / 0.7601 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4739, allocations: 60.86 kB / 0.7601 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.474, allocations: 32.53 kB / 0.7601 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004629/0.4745, allocations: 447 kB / 0.7606 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4745, allocations: 0 / 0.7606 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007152/0.4752, allocations: 291.3 kB / 0.7608 GB, free: 7.074 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.002995/0.4782, allocations: 1.979 MB / 0.7628 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.4795, allocations: 0.7469 MB / 0.7635 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4795, allocations: 4.188 kB / 0.7635 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.4803, allocations: 496.3 kB / 0.764 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4813, allocations: 264 kB / 0.7642 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.4915, allocations: 6.627 MB / 0.7707 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.4921, allocations: 1.011 MB / 0.7717 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000703/0.4928, allocations: 254.5 kB / 0.7719 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.4932, allocations: 362.7 kB / 0.7723 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.4932, allocations: 0 / 0.7723 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7948/1.288, allocations: 19.49 MB / 0.7913 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.288, allocations: 301.9 kB / 0.7916 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.652, allocations: 0 / 0.7916 GB, free: 7.902 MB / 0.6075 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)