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.005956/0.005956, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001172/0.001172, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9563/0.9563, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 68.08 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4312, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004818/0.4361, allocations: 4.164 MB / 0.6682 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.6134, allocations: 150.7 MB / 0.8153 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009243/0.6144, allocations: 19.88 kB / 0.8154 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.6152, allocations: 162.5 kB / 0.8155 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.6173, allocations: 0.4958 MB / 0.816 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.6196, allocations: 0.7852 MB / 0.8168 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.6213, allocations: 1.219 MB / 0.818 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.6224, allocations: 0.6177 MB / 0.8186 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008377/0.6233, allocations: 454.3 kB / 0.819 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007928/0.6241, allocations: 450 kB / 0.8194 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.6244, allocations: 108 kB / 0.8195 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.6255, allocations: 479.5 kB / 0.82 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.6259, allocations: 275.1 kB / 0.8202 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.6265, allocations: 0.5051 MB / 0.8207 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.6288, allocations: 1.503 MB / 0.8222 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6288, allocations: 7.938 kB / 0.8222 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6288, allocations: 4 kB / 0.8222 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.071e-05/0.6289, allocations: 0 / 0.8222 GB, free: 15.11 MB / 0.6544 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.003154/0.6321, allocations: 1.342 MB / 0.8235 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6321, allocations: 11.97 kB / 0.8235 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.6323, allocations: 131.3 kB / 0.8237 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6334, allocations: 179.5 kB / 0.8238 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6348, allocations: 0.7305 MB / 0.8245 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.6349, allocations: 62 kB / 0.8246 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.635, allocations: 80 kB / 0.8247 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.6367, allocations: 0.8949 MB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.6368, allocations: 0 / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/0.6369, allocations: 32 kB / 0.8256 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.6369, allocations: 20 kB / 0.8256 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.6388, allocations: 1.097 MB / 0.8267 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.6431, allocations: 2.468 MB / 0.8291 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6445, allocations: 0.7303 MB / 0.8298 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.645, allocations: 290.7 kB / 0.8301 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.6451, allocations: 40.55 kB / 0.8301 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000797/0.6459, allocations: 435.2 kB / 0.8305 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 4.048e-06/0.6459, allocations: 3.938 kB / 0.8305 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003282/0.6492, allocations: 1.119 MB / 0.8316 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.6494, allocations: 188.6 kB / 0.8318 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.6503, allocations: 0.5979 MB / 0.8324 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.6504, allocations: 41.7 kB / 0.8324 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.6507, allocations: 380.3 kB / 0.8328 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.651, allocations: 252.3 kB / 0.833 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.6513, allocations: 138.5 kB / 0.8332 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6515, allocations: 390.7 kB / 0.8335 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.652, allocations: 221.9 kB / 0.8337 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.6526, allocations: 354.1 kB / 0.8341 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6537, allocations: 0.5551 MB / 0.8346 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6537, allocations: 0 / 0.8346 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00202/0.6558, allocations: 0.7549 MB / 0.8354 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.6558, allocations: 8 kB / 0.8354 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6558, allocations: 0 / 0.8354 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.6565, allocations: 84.81 kB / 0.8355 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.6571, allocations: 147.8 kB / 0.8356 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.6596, allocations: 1.63 MB / 0.8372 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.6603, allocations: 81.77 kB / 0.8373 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.6604, allocations: 35.97 kB / 0.8373 GB, free: 15.13 MB / 0.67 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.0005134/0.6609, allocations: 262.7 kB / 0.8375 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.6612, allocations: 75.06 kB / 0.8376 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.6637, allocations: 1.026 MB / 0.8386 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6637, allocations: 8 kB / 0.8386 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6637, allocations: 4 kB / 0.8386 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6637, allocations: 7.922 kB / 0.8386 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.6674, allocations: 1.885 MB / 0.8405 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6674, allocations: 0 / 0.8405 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.668, allocations: 143.8 kB / 0.8406 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.6684, allocations: 72.78 kB / 0.8407 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.6685, allocations: 23.98 kB / 0.8407 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.6705, allocations: 1.662 MB / 0.8423 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6705, allocations: 4.062 kB / 0.8423 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6724, allocations: 0.9316 MB / 0.8432 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.6729, allocations: 259.8 kB / 0.8435 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.673, allocations: 16 kB / 0.8435 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.6736, allocations: 55.94 kB / 0.8436 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6738, allocations: 60.92 kB / 0.8436 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.6739, allocations: 39.91 kB / 0.8437 GB, free: 8.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005914/0.6745, allocations: 443 kB / 0.8441 GB, free: 7.922 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6745, allocations: 0 / 0.8441 GB, free: 7.922 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008501/0.6753, allocations: 287.3 kB / 0.8444 GB, free: 7.641 MB / 0.67 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.003443/0.6788, allocations: 1.978 MB / 0.8463 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.6804, allocations: 0.7474 MB / 0.847 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6804, allocations: 0 / 0.847 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.6813, allocations: 0.4963 MB / 0.8475 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6826, allocations: 287.7 kB / 0.8478 GB, free: 4.281 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.6937, allocations: 6.043 MB / 0.8537 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.6943, allocations: 1.014 MB / 0.8547 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008137/0.6952, allocations: 258.5 kB / 0.8549 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.6957, allocations: 359.3 kB / 0.8553 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of SimCode: time 7.81e-07/0.6958, allocations: 7.938 kB / 0.8553 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3697/1.065, allocations: 20.78 MB / 0.8756 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.38, allocations: 9.547 kB / 0.8756 GB, free: 190.4 MB / 0.6856 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)