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.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.693/0.693, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.97 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005886/0.1361, allocations: 4.92 MB / 0.585 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3466/0.4827, allocations: 150.9 MB / 0.7324 GB, free: 376 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.4833, allocations: 18.56 kB / 0.7324 GB, free: 372 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.4838, allocations: 197.8 kB / 0.7326 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.4851, allocations: 0.5832 MB / 0.7331 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.4867, allocations: 0.8845 MB / 0.734 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.4879, allocations: 1.569 MB / 0.7355 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.489, allocations: 1.064 MB / 0.7366 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.4897, allocations: 0.681 MB / 0.7372 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.4903, allocations: 0.7363 MB / 0.7379 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.4905, allocations: 175.6 kB / 0.7381 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.4912, allocations: 0.5078 MB / 0.7386 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.4915, allocations: 421.5 kB / 0.739 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.492, allocations: 0.7798 MB / 0.7398 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.4936, allocations: 2.126 MB / 0.7418 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4937, allocations: 4 kB / 0.7419 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4937, allocations: 0 / 0.7419 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.4937, allocations: 0 / 0.7419 GB, free: 10.83 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.00257/0.4963, allocations: 1.788 MB / 0.7436 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.4963, allocations: 10.16 kB / 0.7436 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.4965, allocations: 206 kB / 0.7438 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/0.4974, allocations: 239.8 kB / 0.744 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4984, allocations: 0.8847 MB / 0.7449 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.4985, allocations: 113 kB / 0.745 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.4987, allocations: 135.1 kB / 0.7451 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.5006, allocations: 1.427 MB / 0.7465 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.5006, allocations: 0 / 0.7465 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5008, allocations: 63.03 kB / 0.7466 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5008, allocations: 33.78 kB / 0.7466 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.5029, allocations: 1.518 MB / 0.7481 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.5078, allocations: 3.781 MB / 0.7518 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5093, allocations: 0.9622 MB / 0.7527 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.5099, allocations: 395.7 kB / 0.7531 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.51, allocations: 45.08 kB / 0.7532 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009338/0.511, allocations: 0.5787 MB / 0.7537 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.084e-06/0.511, allocations: 0 / 0.7537 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003395/0.5144, allocations: 1.477 MB / 0.7552 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.5145, allocations: 195.5 kB / 0.7553 GB, free: 15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.5153, allocations: 0.759 MB / 0.7561 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.5154, allocations: 49.69 kB / 0.7561 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.5157, allocations: 0.5504 MB / 0.7567 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.5159, allocations: 346.9 kB / 0.757 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.5162, allocations: 202.4 kB / 0.7572 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5163, allocations: 353.9 kB / 0.7575 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.5169, allocations: 337.8 kB / 0.7579 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.5176, allocations: 462.4 kB / 0.7583 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.5189, allocations: 0.8078 MB / 0.7591 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5189, allocations: 0 / 0.7591 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00211/0.5211, allocations: 1.06 MB / 0.7601 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5211, allocations: 4 kB / 0.7601 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5211, allocations: 0 / 0.7601 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.5217, allocations: 92.7 kB / 0.7602 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/0.5226, allocations: 215.7 kB / 0.7604 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.5245, allocations: 1.642 MB / 0.762 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.5251, allocations: 110.1 kB / 0.7621 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.5252, allocations: 39.97 kB / 0.7622 GB, free: 7.777 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.0003836/0.5256, allocations: 319.5 kB / 0.7625 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5258, allocations: 106.4 kB / 0.7626 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.5286, allocations: 1.383 MB / 0.7639 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.5286, allocations: 15.94 kB / 0.7639 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5286, allocations: 0 / 0.7639 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5286, allocations: 3.984 kB / 0.7639 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.5322, allocations: 2.573 MB / 0.7665 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5322, allocations: 0 / 0.7665 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/0.533, allocations: 199.7 kB / 0.7666 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.5334, allocations: 68.78 kB / 0.7667 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.5334, allocations: 27.98 kB / 0.7667 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5351, allocations: 1.685 MB / 0.7684 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5351, allocations: 0 / 0.7684 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.5371, allocations: 1.167 MB / 0.7695 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.5375, allocations: 319.4 kB / 0.7698 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5376, allocations: 31.84 kB / 0.7699 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.5383, allocations: 55.95 kB / 0.7699 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.5384, allocations: 80.88 kB / 0.77 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.5385, allocations: 39.98 kB / 0.77 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006203/0.5391, allocations: 0.577 MB / 0.7706 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5392, allocations: 0 / 0.7706 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008353/0.54, allocations: 390.8 kB / 0.771 GB, free: 14.51 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.003357/0.5434, allocations: 2.224 MB / 0.7731 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002677/0.5461, allocations: 1.263 MB / 0.7744 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5461, allocations: 0 / 0.7744 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5472, allocations: 0.6174 MB / 0.775 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.5484, allocations: 308.1 kB / 0.7753 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.5604, allocations: 8.526 MB / 0.7836 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.561, allocations: 1.165 MB / 0.7847 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008336/0.5619, allocations: 296.4 kB / 0.785 GB, free: 28 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/0.5625, allocations: 0.5423 MB / 0.7855 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of SimCode: time 1.422e-06/0.5625, allocations: 0 / 0.7855 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.328/2.891, allocations: 25.87 MB / 0.8108 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/16.86, allocations: 8.047 kB / 0.8108 GB, free: 5.977 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)