Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001289/0.001289, allocations: 194 kB / 17.3 MB, free: 5.48 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7559/0.7559, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2988, allocations: 80.91 MB / 0.5857 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005406/0.3043, allocations: 4.915 MB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.4397, allocations: 150.9 MB / 0.7379 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000745/0.4404, allocations: 19.94 kB / 0.7379 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.441, allocations: 194.1 kB / 0.7381 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.4425, allocations: 0.5862 MB / 0.7387 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.4442, allocations: 0.8953 MB / 0.7396 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.4459, allocations: 1.589 MB / 0.7411 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.4471, allocations: 1.066 MB / 0.7422 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.4478, allocations: 0.681 MB / 0.7428 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.4485, allocations: 0.7389 MB / 0.7435 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.4487, allocations: 176 kB / 0.7437 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.4495, allocations: 0.5308 MB / 0.7442 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.4499, allocations: 418.6 kB / 0.7446 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.4504, allocations: 0.7811 MB / 0.7454 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.4523, allocations: 2.184 MB / 0.7475 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4523, allocations: 0 / 0.7475 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4523, allocations: 0 / 0.7475 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.4524, allocations: 0 / 0.7475 GB, free: 4.309 MB / 0.5762 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.002613/0.455, allocations: 1.779 MB / 0.7493 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.455, allocations: 8.031 kB / 0.7493 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009006/0.4559, allocations: 230.9 kB / 0.7495 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4571, allocations: 0.907 MB / 0.7504 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.4572, allocations: 106.9 kB / 0.7505 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.4574, allocations: 136 kB / 0.7506 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2349/0.6923, allocations: 1.423 MB / 0.752 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.6924, allocations: 4.188 kB / 0.752 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6925, allocations: 62.95 kB / 0.7521 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.6926, allocations: 34.44 kB / 0.7521 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.695, allocations: 1.514 MB / 0.7536 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.7001, allocations: 3.719 MB / 0.7572 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.7016, allocations: 0.9593 MB / 0.7581 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.7022, allocations: 397 kB / 0.7585 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7024, allocations: 50.86 kB / 0.7586 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009687/0.7033, allocations: 0.5887 MB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.375e-06/0.7034, allocations: 0.5 kB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003471/0.7068, allocations: 1.469 MB / 0.7606 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.7069, allocations: 196.1 kB / 0.7608 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.7078, allocations: 0.7591 MB / 0.7615 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.7079, allocations: 50.36 kB / 0.7616 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.7082, allocations: 0.5551 MB / 0.7621 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.7084, allocations: 345 kB / 0.7624 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.7086, allocations: 219.8 kB / 0.7626 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.7087, allocations: 348.6 kB / 0.763 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.7093, allocations: 360.5 kB / 0.7633 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.71, allocations: 470.3 kB / 0.7638 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7112, allocations: 0.835 MB / 0.7646 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7112, allocations: 3.688 kB / 0.7646 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00197/0.7131, allocations: 1.107 MB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.7132, allocations: 9.141 kB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.7132, allocations: 5.562 kB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.7137, allocations: 81.72 kB / 0.7658 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.7146, allocations: 229.6 kB / 0.766 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.7161, allocations: 1.641 MB / 0.7676 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.7168, allocations: 112.1 kB / 0.7677 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.7169, allocations: 47.95 kB / 0.7677 GB, free: 154.8 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (125): * Single equations (assignments): 124 * 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.0004192/0.7174, allocations: 316.1 kB / 0.768 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7175, allocations: 104.2 kB / 0.7681 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.72, allocations: 1.38 MB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.72, allocations: 12 kB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.72, allocations: 0 / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.72, allocations: 11.91 kB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.7232, allocations: 2.551 MB / 0.772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7232, allocations: 3.984 kB / 0.772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.7239, allocations: 192.3 kB / 0.7722 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.7243, allocations: 76.81 kB / 0.7723 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.7244, allocations: 27.98 kB / 0.7723 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.7257, allocations: 1.676 MB / 0.7739 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7257, allocations: 0 / 0.7739 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.7275, allocations: 1.174 MB / 0.7751 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.7278, allocations: 322 kB / 0.7754 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.728, allocations: 31.84 kB / 0.7754 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.7286, allocations: 51.95 kB / 0.7754 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.7287, allocations: 81.38 kB / 0.7755 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.7288, allocations: 35.98 kB / 0.7756 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005342/0.7293, allocations: 0.5699 MB / 0.7761 GB, free: 146 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7293, allocations: 4.531 kB / 0.7761 GB, free: 146 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000824/0.7302, allocations: 409.2 kB / 0.7765 GB, free: 145.6 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 (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.001115/0.7313, allocations: 0.6051 MB / 0.7771 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.7328, allocations: 1.042 MB / 0.7781 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7328, allocations: 0 / 0.7781 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.7336, allocations: 0.6094 MB / 0.7787 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000966/0.7346, allocations: 312 kB / 0.779 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.7381, allocations: 2.322 MB / 0.7813 GB, free: 141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.7385, allocations: 1.165 MB / 0.7824 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.7392, allocations: 290.8 kB / 0.7827 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.7395, allocations: 139.4 kB / 0.7828 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.7395, allocations: 0 / 0.7828 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02282/0.7623, allocations: 17.78 MB / 0.8002 GB, free: 121.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)