Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.005708/0.005708, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001295/0.001295, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7638/0.7638, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 66.08 kB / 0.5808 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006016/0.1481, allocations: 4.179 MB / 0.6633 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.53/0.6781, allocations: 150.6 MB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.679, allocations: 20.22 kB / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.6795, allocations: 174.2 kB / 0.8105 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.6809, allocations: 498.8 kB / 0.811 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.6829, allocations: 0.7971 MB / 0.8118 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.6845, allocations: 1.222 MB / 0.813 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.6855, allocations: 0.6149 MB / 0.8136 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.6863, allocations: 452.6 kB / 0.814 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.687, allocations: 461.8 kB / 0.8145 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.6872, allocations: 104.7 kB / 0.8146 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.6881, allocations: 481.2 kB / 0.815 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.6884, allocations: 281.9 kB / 0.8153 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.6887, allocations: 0.5002 MB / 0.8158 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.6904, allocations: 1.504 MB / 0.8172 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6905, allocations: 0 / 0.8172 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.188e-06/0.6905, allocations: 0 / 0.8172 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.6905, allocations: 3.938 kB / 0.8173 GB, free: 9.734 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002323/0.6928, allocations: 1.339 MB / 0.8186 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6929, allocations: 12.41 kB / 0.8186 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.693, allocations: 136.1 kB / 0.8187 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.6939, allocations: 182.4 kB / 0.8189 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6951, allocations: 0.7347 MB / 0.8196 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.6951, allocations: 57.72 kB / 0.8196 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/0.6952, allocations: 80 kB / 0.8197 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6966, allocations: 0.8928 MB / 0.8206 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6966, allocations: 0 / 0.8206 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.6967, allocations: 33.91 kB / 0.8206 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.6967, allocations: 24.31 kB / 0.8207 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6983, allocations: 1.096 MB / 0.8217 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.7019, allocations: 2.461 MB / 0.8241 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7031, allocations: 0.7354 MB / 0.8248 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.7036, allocations: 286.6 kB / 0.8251 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.7037, allocations: 38.52 kB / 0.8252 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007533/0.7044, allocations: 453.4 kB / 0.8256 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.424e-06/0.7044, allocations: 3.75 kB / 0.8256 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.003032/0.7075, allocations: 1.11 MB / 0.8267 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.7076, allocations: 194 kB / 0.8269 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.7084, allocations: 0.5934 MB / 0.8274 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.7085, allocations: 42.86 kB / 0.8275 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.7088, allocations: 377.6 kB / 0.8278 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.709, allocations: 251.1 kB / 0.8281 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.7092, allocations: 139.8 kB / 0.8282 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7093, allocations: 384.9 kB / 0.8286 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.7098, allocations: 233.5 kB / 0.8288 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.7103, allocations: 337.2 kB / 0.8291 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.7112, allocations: 0.5571 MB / 0.8297 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7113, allocations: 0 / 0.8297 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001661/0.7129, allocations: 0.761 MB / 0.8304 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.713, allocations: 4.844 kB / 0.8304 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.713, allocations: 0 / 0.8304 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/0.7136, allocations: 84.08 kB / 0.8305 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.7142, allocations: 146.6 kB / 0.8306 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.7163, allocations: 1.637 MB / 0.8322 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.7169, allocations: 77.03 kB / 0.8323 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.7169, allocations: 27.83 kB / 0.8323 GB, free: 15.28 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 (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.0003701/0.7173, allocations: 254.7 kB / 0.8326 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.7175, allocations: 80.81 kB / 0.8327 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.7196, allocations: 1.022 MB / 0.8337 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7196, allocations: 7.344 kB / 0.8337 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.7196, allocations: 0 / 0.8337 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.7196, allocations: 12.02 kB / 0.8337 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.7225, allocations: 1.897 MB / 0.8355 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7225, allocations: 0 / 0.8355 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.7231, allocations: 148.6 kB / 0.8357 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.7235, allocations: 74.84 kB / 0.8357 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.7236, allocations: 22.95 kB / 0.8358 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.7256, allocations: 1.645 MB / 0.8374 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7256, allocations: 9.406 kB / 0.8374 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.7274, allocations: 0.9286 MB / 0.8383 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.7278, allocations: 265.2 kB / 0.8385 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7279, allocations: 20.81 kB / 0.8386 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.7284, allocations: 56.47 kB / 0.8386 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.7286, allocations: 52.55 kB / 0.8387 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.7286, allocations: 42.94 kB / 0.8387 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005713/0.7292, allocations: 445.5 kB / 0.8391 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7292, allocations: 0 / 0.8391 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009175/0.7302, allocations: 290.5 kB / 0.8394 GB, free: 10.3 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 (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.003236/0.7334, allocations: 1.973 MB / 0.8413 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.7349, allocations: 0.7471 MB / 0.8421 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.735, allocations: 2.094 kB / 0.8421 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.7358, allocations: 0.4984 MB / 0.8425 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7369, allocations: 297.5 kB / 0.8428 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7477, allocations: 6.056 MB / 0.8487 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/0.7485, allocations: 1.007 MB / 0.8497 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008372/0.7494, allocations: 254 kB / 0.85 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.75, allocations: 367.3 kB / 0.8503 GB, free: 500 kB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.75, allocations: 0 / 0.8503 GB, free: 500 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.7993, allocations: 20.39 MB / 0.8702 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.53, allocations: 0 / 0.8702 GB, free: 12.38 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)