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.005962/0.005967, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001187/0.001187, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7543/0.7543, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.31 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1542, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006491/0.1608, allocations: 4.914 MB / 0.664 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.537/0.6979, allocations: 150.9 MB / 0.8113 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009096/0.6988, allocations: 23.66 kB / 0.8113 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.6995, allocations: 192.3 kB / 0.8115 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.7013, allocations: 0.5953 MB / 0.8121 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.7032, allocations: 0.8911 MB / 0.813 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.705, allocations: 1.592 MB / 0.8145 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.7063, allocations: 1.06 MB / 0.8156 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.7073, allocations: 0.6975 MB / 0.8163 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.708, allocations: 0.7372 MB / 0.817 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.7083, allocations: 175.2 kB / 0.8171 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.7095, allocations: 0.5294 MB / 0.8177 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.7099, allocations: 426.7 kB / 0.8181 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.7106, allocations: 0.7775 MB / 0.8188 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.7132, allocations: 2.181 MB / 0.821 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7132, allocations: 3.938 kB / 0.821 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7132, allocations: 0 / 0.821 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.571e-05/0.7132, allocations: 0 / 0.821 GB, free: 7.82 MB / 0.5919 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.00306/0.7163, allocations: 1.785 MB / 0.8227 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.7164, allocations: 11.23 kB / 0.8227 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/0.7166, allocations: 206.8 kB / 0.8229 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.7176, allocations: 243.5 kB / 0.8231 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7189, allocations: 0.9032 MB / 0.824 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.719, allocations: 104.7 kB / 0.8241 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.7192, allocations: 134.5 kB / 0.8243 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.7213, allocations: 1.433 MB / 0.8257 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.7214, allocations: 0 / 0.8257 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.7215, allocations: 60.56 kB / 0.8257 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.7215, allocations: 39.22 kB / 0.8257 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.7238, allocations: 1.517 MB / 0.8272 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.7294, allocations: 3.721 MB / 0.8309 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.7309, allocations: 0.9538 MB / 0.8318 GB, free: 448 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.7315, allocations: 400.3 kB / 0.8322 GB, free: 236 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-05/0.7316, allocations: 47.5 kB / 0.8322 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009372/0.7326, allocations: 0.576 MB / 0.8328 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.7326, allocations: 0 / 0.8328 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.003512/0.7361, allocations: 1.481 MB / 0.8342 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7362, allocations: 191.4 kB / 0.8344 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.7373, allocations: 0.7541 MB / 0.8351 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.7374, allocations: 48.08 kB / 0.8352 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/0.7378, allocations: 0.5616 MB / 0.8357 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.7381, allocations: 340.9 kB / 0.8361 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.7384, allocations: 209.2 kB / 0.8363 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7385, allocations: 345.7 kB / 0.8366 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.7391, allocations: 335.8 kB / 0.8369 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/0.7398, allocations: 467.4 kB / 0.8374 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.7412, allocations: 0.8151 MB / 0.8382 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7412, allocations: 0 / 0.8382 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002234/0.7434, allocations: 1.062 MB / 0.8392 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7435, allocations: 4.906 kB / 0.8392 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7435, allocations: 0 / 0.8392 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/0.744, allocations: 86.12 kB / 0.8393 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.7449, allocations: 211 kB / 0.8395 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.7469, allocations: 1.648 MB / 0.8411 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.7478, allocations: 109.5 kB / 0.8412 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.7478, allocations: 43.59 kB / 0.8412 GB, free: 9.871 MB / 0.6075 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.0005811/0.7484, allocations: 318.8 kB / 0.8415 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.7486, allocations: 98.38 kB / 0.8416 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.7516, allocations: 1.381 MB / 0.843 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7516, allocations: 15.94 kB / 0.843 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7516, allocations: 0 / 0.843 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.7516, allocations: 3.984 kB / 0.843 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.7558, allocations: 2.565 MB / 0.8455 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7559, allocations: 0 / 0.8455 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.7566, allocations: 195.7 kB / 0.8457 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.757, allocations: 72.78 kB / 0.8458 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.7571, allocations: 35.97 kB / 0.8458 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.759, allocations: 1.666 MB / 0.8474 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7591, allocations: 0 / 0.8474 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.7613, allocations: 1.173 MB / 0.8486 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.7618, allocations: 319.5 kB / 0.8489 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.7619, allocations: 35.83 kB / 0.8489 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.7626, allocations: 57.36 kB / 0.849 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.7628, allocations: 72.95 kB / 0.849 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/0.7629, allocations: 55.84 kB / 0.8491 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007992/0.7637, allocations: 0.5809 MB / 0.8497 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7637, allocations: 0 / 0.8497 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00119/0.7649, allocations: 394.7 kB / 0.85 GB, free: 1.34 MB / 0.6075 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.003777/0.7687, allocations: 2.218 MB / 0.8522 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.7707, allocations: 1.007 MB / 0.8532 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7707, allocations: 4 kB / 0.8532 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.7717, allocations: 0.6058 MB / 0.8538 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7729, allocations: 307.6 kB / 0.8541 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.7857, allocations: 8.109 MB / 0.862 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.7865, allocations: 1.165 MB / 0.8631 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009179/0.7874, allocations: 308.3 kB / 0.8634 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/0.7881, allocations: 0.5422 MB / 0.864 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.7881, allocations: 3.938 kB / 0.864 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.8457, allocations: 26.22 MB / 0.8896 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.25, allocations: 8.062 kB / 0.8896 GB, free: 9.148 MB / 0.6544 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)