Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, 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.002122/0.002122, allocations: 192 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.55/1.55, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002595/0.002595, allocations: 282.8 kB / 290.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 95.84 kB / 0.6064 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2084, allocations: 89.15 MB / 0.6935 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007498/0.2159, allocations: 5.159 MB / 0.6985 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.565/0.7809, allocations: 150.7 MB / 0.8457 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.782, allocations: 16.31 kB / 0.8457 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.7826, allocations: 204.6 kB / 0.8459 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.7844, allocations: 0.5661 MB / 0.8465 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.7865, allocations: 0.8577 MB / 0.8473 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.7882, allocations: 1.445 MB / 0.8487 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.7892, allocations: 0.6545 MB / 0.8494 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/0.7898, allocations: 0.5181 MB / 0.8499 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.7904, allocations: 0.5462 MB / 0.8504 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7905, allocations: 126.2 kB / 0.8505 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000846/0.7914, allocations: 489.3 kB / 0.851 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.7917, allocations: 318.2 kB / 0.8513 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.7923, allocations: 0.6051 MB / 0.8519 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.7941, allocations: 1.704 MB / 0.8535 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7942, allocations: 0 / 0.8535 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.088e-06/0.7942, allocations: 3.984 kB / 0.8535 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.7942, allocations: 0 / 0.8535 GB, free: 1.754 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002594/0.7968, allocations: 1.504 MB / 0.855 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7968, allocations: 10.06 kB / 0.855 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.798, allocations: 217.4 kB / 0.8552 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7992, allocations: 0.7653 MB / 0.856 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.7993, allocations: 71.97 kB / 0.8561 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.7994, allocations: 90.59 kB / 0.8561 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.8012, allocations: 1.012 MB / 0.8571 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.8012, allocations: 3.984 kB / 0.8571 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/0.8013, allocations: 42.09 kB / 0.8572 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.8014, allocations: 22.41 kB / 0.8572 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.8034, allocations: 1.175 MB / 0.8583 GB, free: 14.54 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.8081, allocations: 2.984 MB / 0.8613 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.8099, allocations: 0.9069 MB / 0.8621 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.8105, allocations: 323.3 kB / 0.8624 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/0.8113, allocations: 472.7 kB / 0.8629 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/0.8123, allocations: 0.4994 MB / 0.8634 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.235e-06/0.8123, allocations: 0 / 0.8634 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003257/0.8155, allocations: 1.238 MB / 0.8646 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.8157, allocations: 198.3 kB / 0.8648 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.8164, allocations: 0.6343 MB / 0.8654 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.8165, allocations: 45.11 kB / 0.8654 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8169, allocations: 430.2 kB / 0.8659 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.8171, allocations: 267.4 kB / 0.8661 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.8174, allocations: 162 kB / 0.8663 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.8176, allocations: 395.2 kB / 0.8666 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.8181, allocations: 276.3 kB / 0.8669 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.8188, allocations: 373.1 kB / 0.8673 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.8199, allocations: 0.6295 MB / 0.8679 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.82, allocations: 2.719 kB / 0.8679 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001936/0.8219, allocations: 0.8752 MB / 0.8687 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8219, allocations: 11.31 kB / 0.8687 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8219, allocations: 0 / 0.8687 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.8225, allocations: 83.86 kB / 0.8688 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.8232, allocations: 166.8 kB / 0.869 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.8254, allocations: 1.626 MB / 0.8706 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.8262, allocations: 103.9 kB / 0.8707 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.8262, allocations: 42.53 kB / 0.8707 GB, free: 5.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000465/0.8267, allocations: 270.6 kB / 0.871 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8269, allocations: 82.97 kB / 0.871 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.8295, allocations: 1.106 MB / 0.8721 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.8295, allocations: 11.94 kB / 0.8721 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.8295, allocations: 0 / 0.8721 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.8295, allocations: 3.984 kB / 0.8721 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.833, allocations: 2.004 MB / 0.8741 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.833, allocations: 0 / 0.8741 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.8336, allocations: 155.8 kB / 0.8742 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.834, allocations: 68.78 kB / 0.8743 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.8341, allocations: 23.98 kB / 0.8743 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.8361, allocations: 1.662 MB / 0.876 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8361, allocations: 4.062 kB / 0.876 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.8383, allocations: 1.019 MB / 0.877 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.8387, allocations: 271.7 kB / 0.8772 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.8388, allocations: 27.92 kB / 0.8772 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/0.8395, allocations: 63.94 kB / 0.8773 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.8397, allocations: 72.89 kB / 0.8774 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.8398, allocations: 31.98 kB / 0.8774 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006049/0.8404, allocations: 467 kB / 0.8779 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8404, allocations: 0 / 0.8779 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009623/0.8414, allocations: 359 kB / 0.8782 GB, free: 13.45 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001895/0.8433, allocations: 0.6295 MB / 0.8788 GB, free: 13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.8459, allocations: 1.067 MB / 0.8798 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8459, allocations: 0 / 0.8798 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.847, allocations: 0.5275 MB / 0.8804 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.8483, allocations: 307.6 kB / 0.8807 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.8518, allocations: 1.737 MB / 0.8824 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.8526, allocations: 1.043 MB / 0.8834 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009444/0.8536, allocations: 282.7 kB / 0.8836 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.8539, allocations: 103.4 kB / 0.8837 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.8539, allocations: 0 / 0.8837 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.03051/0.8844, allocations: 15.8 MB / 0.8992 GB, free: 8.32 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)