Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 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.001084/0.001084, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6863/0.6863, allocations: 132.2 MB / 422.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 60.5 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3331, allocations: 80.21 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004816/0.338, allocations: 4.076 MB / 0.5841 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1489/0.4869, allocations: 150.4 MB / 0.731 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.4877, allocations: 23.81 kB / 0.731 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.4882, allocations: 166.5 kB / 0.7312 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.4896, allocations: 468.3 kB / 0.7316 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4913, allocations: 0.792 MB / 0.7324 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008991/0.4923, allocations: 1.157 MB / 0.7335 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.493, allocations: 0.6214 MB / 0.7341 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.4934, allocations: 422.5 kB / 0.7345 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.4938, allocations: 442 kB / 0.7349 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.4939, allocations: 104 kB / 0.735 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.4946, allocations: 443.6 kB / 0.7355 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.4948, allocations: 279.1 kB / 0.7357 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.4952, allocations: 497.4 kB / 0.7362 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.4964, allocations: 1.457 MB / 0.7376 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4964, allocations: 0 / 0.7376 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4964, allocations: 0 / 0.7376 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4964, allocations: 0 / 0.7376 GB, free: 15.58 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001763/0.4982, allocations: 1.299 MB / 0.7389 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.4982, allocations: 8.031 kB / 0.7389 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.4991, allocations: 191.4 kB / 0.7391 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.4999, allocations: 0.6917 MB / 0.7398 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.4999, allocations: 58 kB / 0.7398 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.5, allocations: 76 kB / 0.7399 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5013, allocations: 0.8637 MB / 0.7407 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5013, allocations: 0 / 0.7407 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.5014, allocations: 32 kB / 0.7408 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.5014, allocations: 20 kB / 0.7408 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.5028, allocations: 1.061 MB / 0.7418 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.506, allocations: 2.39 MB / 0.7442 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5073, allocations: 0.789 MB / 0.7449 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.5077, allocations: 278.4 kB / 0.7452 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.5078, allocations: 28.59 kB / 0.7452 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007106/0.5085, allocations: 425.8 kB / 0.7456 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.743e-06/0.5085, allocations: 0 / 0.7456 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00266/0.5112, allocations: 1.066 MB / 0.7467 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.5113, allocations: 192.5 kB / 0.7469 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.5119, allocations: 0.5822 MB / 0.7474 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.5119, allocations: 37.8 kB / 0.7475 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5122, allocations: 376.1 kB / 0.7478 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.5123, allocations: 228.7 kB / 0.748 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.5125, allocations: 146.5 kB / 0.7482 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5127, allocations: 390.8 kB / 0.7485 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.5131, allocations: 229.9 kB / 0.7488 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.5136, allocations: 326.7 kB / 0.7491 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.5146, allocations: 0.5468 MB / 0.7496 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5146, allocations: 0 / 0.7496 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001596/0.5162, allocations: 0.7627 MB / 0.7504 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5162, allocations: 8 kB / 0.7504 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5162, allocations: 0 / 0.7504 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.5168, allocations: 84.86 kB / 0.7504 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.5173, allocations: 147.8 kB / 0.7506 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.5191, allocations: 1.641 MB / 0.7522 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.5197, allocations: 79.38 kB / 0.7523 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.5197, allocations: 35.97 kB / 0.7523 GB, free: 28 kB / 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 (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.0003052/0.52, allocations: 247.2 kB / 0.7525 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.5202, allocations: 83.06 kB / 0.7526 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5222, allocations: 0.9668 MB / 0.7536 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5222, allocations: 8 kB / 0.7536 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.5222, allocations: 0 / 0.7536 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5222, allocations: 3.984 kB / 0.7536 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.5249, allocations: 1.832 MB / 0.7554 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5249, allocations: 0 / 0.7554 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.5254, allocations: 139.7 kB / 0.7555 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.5258, allocations: 76.78 kB / 0.7556 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.5259, allocations: 23.98 kB / 0.7556 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.5275, allocations: 1.658 MB / 0.7572 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5275, allocations: 0 / 0.7572 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.5292, allocations: 0.8985 MB / 0.7581 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.5294, allocations: 251.8 kB / 0.7583 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.5295, allocations: 23.94 kB / 0.7583 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.53, allocations: 51.94 kB / 0.7584 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.5302, allocations: 60.92 kB / 0.7585 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.5302, allocations: 23.98 kB / 0.7585 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004328/0.5306, allocations: 431 kB / 0.7589 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5307, allocations: 11.81 kB / 0.7589 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006486/0.5313, allocations: 279.3 kB / 0.7592 GB, free: 8.723 MB / 0.5919 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 (81): * Single equations (assignments): 78 * 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.001142/0.5325, allocations: 0.6029 MB / 0.7598 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.5343, allocations: 0.927 MB / 0.7607 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5343, allocations: 0 / 0.7607 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.5351, allocations: 484.2 kB / 0.7611 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5361, allocations: 280.2 kB / 0.7614 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.5392, allocations: 1.636 MB / 0.763 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.5397, allocations: 0.9922 MB / 0.764 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006398/0.5404, allocations: 250 kB / 0.7642 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.5406, allocations: 99.39 kB / 0.7643 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5406, allocations: 0 / 0.7643 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.01917/0.5597, allocations: 13.63 MB / 0.7776 GB, free: 6.164 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)