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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 108 kB / 15.6 MB, free: 132 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.001282/0.001282, allocations: 196.8 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.72 kB / 0.5053 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1837, allocations: 80.93 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006321/0.1901, allocations: 4.158 MB / 0.5884 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4848/0.6749, allocations: 150.6 MB / 0.7355 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.6759, allocations: 15.41 kB / 0.7356 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.6766, allocations: 170.5 kB / 0.7357 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.6787, allocations: 0.4926 MB / 0.7362 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.6805, allocations: 0.7817 MB / 0.737 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.6819, allocations: 1.21 MB / 0.7381 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.6829, allocations: 0.6133 MB / 0.7387 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.6835, allocations: 449.2 kB / 0.7392 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.684, allocations: 460.4 kB / 0.7396 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.6842, allocations: 108 kB / 0.7397 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00093/0.6851, allocations: 452.5 kB / 0.7401 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.6854, allocations: 269.3 kB / 0.7404 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.6858, allocations: 0.504 MB / 0.7409 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.6875, allocations: 1.457 MB / 0.7423 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6875, allocations: 1.531 kB / 0.7423 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6875, allocations: 0 / 0.7423 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.6875, allocations: 4 kB / 0.7423 GB, free: 8.273 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002266/0.6898, allocations: 1.345 MB / 0.7436 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6898, allocations: 9.625 kB / 0.7436 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.6908, allocations: 175.6 kB / 0.7438 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6918, allocations: 0.7158 MB / 0.7445 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.6919, allocations: 58.59 kB / 0.7446 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.692, allocations: 85.22 kB / 0.7447 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6935, allocations: 0.8897 MB / 0.7455 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.6935, allocations: 0 / 0.7455 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.6936, allocations: 31.66 kB / 0.7455 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.6936, allocations: 21.12 kB / 0.7456 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.6953, allocations: 1.093 MB / 0.7466 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.6991, allocations: 2.499 MB / 0.7491 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.7004, allocations: 0.7245 MB / 0.7498 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.7009, allocations: 293.8 kB / 0.7501 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.701, allocations: 28.59 kB / 0.7501 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/0.702, allocations: 449.5 kB / 0.7505 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 4.068e-06/0.702, allocations: 0 / 0.7505 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003209/0.7052, allocations: 1.123 MB / 0.7516 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7053, allocations: 188.6 kB / 0.7518 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.7061, allocations: 0.5979 MB / 0.7524 GB, free: 412 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.7062, allocations: 37.7 kB / 0.7524 GB, free: 368 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.7066, allocations: 386 kB / 0.7528 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.7068, allocations: 252.4 kB / 0.753 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.7071, allocations: 162.4 kB / 0.7532 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7072, allocations: 378.8 kB / 0.7535 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.7078, allocations: 249.9 kB / 0.7538 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.7084, allocations: 343.1 kB / 0.7541 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.7095, allocations: 0.5946 MB / 0.7547 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7095, allocations: 0 / 0.7547 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001929/0.7115, allocations: 0.8137 MB / 0.7555 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7115, allocations: 4 kB / 0.7555 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.7115, allocations: 4 kB / 0.7555 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.7122, allocations: 84.83 kB / 0.7556 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.7128, allocations: 163.8 kB / 0.7557 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.715, allocations: 1.624 MB / 0.7573 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.7158, allocations: 83.36 kB / 0.7574 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.7158, allocations: 39.97 kB / 0.7574 GB, free: 11.02 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 (89): * Single equations (assignments): 88 * 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.0004277/0.7163, allocations: 249.7 kB / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.7164, allocations: 79 kB / 0.7577 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.7188, allocations: 1.033 MB / 0.7588 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.7188, allocations: 8 kB / 0.7588 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.7188, allocations: 0 / 0.7588 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7189, allocations: 7.984 kB / 0.7588 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.722, allocations: 1.88 MB / 0.7606 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7221, allocations: 0 / 0.7606 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.7227, allocations: 147.8 kB / 0.7607 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.7231, allocations: 72.78 kB / 0.7608 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.7232, allocations: 23.98 kB / 0.7608 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.7253, allocations: 1.666 MB / 0.7625 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7253, allocations: 3.938 kB / 0.7625 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.7273, allocations: 0.9297 MB / 0.7634 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.7277, allocations: 263.8 kB / 0.7636 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.7278, allocations: 16 kB / 0.7636 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.7285, allocations: 47.95 kB / 0.7637 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.7287, allocations: 66.5 kB / 0.7638 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.7288, allocations: 31.98 kB / 0.7638 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006722/0.7294, allocations: 443 kB / 0.7642 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7295, allocations: 4 kB / 0.7642 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009949/0.7305, allocations: 291.3 kB / 0.7645 GB, free: 3.531 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 (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.00155/0.732, allocations: 0.605 MB / 0.7651 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.7346, allocations: 0.9794 MB / 0.766 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7346, allocations: 0 / 0.766 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.7356, allocations: 496.3 kB / 0.7665 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7369, allocations: 285.3 kB / 0.7668 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.7412, allocations: 1.709 MB / 0.7684 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.7419, allocations: 1.004 MB / 0.7694 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008365/0.7427, allocations: 266.2 kB / 0.7697 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.743, allocations: 99.39 kB / 0.7698 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.743, allocations: 0 / 0.7698 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.02415/0.7672, allocations: 14.13 MB / 0.7836 GB, free: 316 kB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)