Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00832/0.00832, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003543, allocations: 9.062 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4766, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004734/0.4814, allocations: 3.726 MB / 0.5873 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1972/0.6787, allocations: 146.5 MB / 0.7304 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.6802, allocations: 19.88 kB / 0.7304 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.6814, allocations: 135 kB / 0.7306 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.6837, allocations: 389.6 kB / 0.7309 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6865, allocations: 0.6979 MB / 0.7316 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.6886, allocations: 1.109 MB / 0.7327 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.6899, allocations: 0.5705 MB / 0.7333 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.6907, allocations: 306.5 kB / 0.7336 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007511/0.6914, allocations: 330.1 kB / 0.7339 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.6916, allocations: 24 kB / 0.7339 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.6928, allocations: 363.6 kB / 0.7342 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.6931, allocations: 171.1 kB / 0.7344 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.6937, allocations: 411.1 kB / 0.7348 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.6958, allocations: 1.351 MB / 0.7361 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6958, allocations: 0 / 0.7361 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6958, allocations: 0 / 0.7361 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.855e-05/0.6959, allocations: 0 / 0.7361 GB, free: 3.809 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002851/0.6987, allocations: 1.137 MB / 0.7372 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.6988, allocations: 12.03 kB / 0.7372 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6999, allocations: 183.5 kB / 0.7374 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7013, allocations: 0.6994 MB / 0.7381 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.7014, allocations: 62 kB / 0.7382 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.7016, allocations: 76 kB / 0.7382 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.7034, allocations: 0.8676 MB / 0.7391 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.7034, allocations: 0 / 0.7391 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.7035, allocations: 32 kB / 0.7391 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.7036, allocations: 20 kB / 0.7391 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.7054, allocations: 1.077 MB / 0.7402 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.7099, allocations: 2.413 MB / 0.7425 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.7114, allocations: 0.8022 MB / 0.7433 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.712, allocations: 282.1 kB / 0.7436 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.161e-05/0.7121, allocations: 32.59 kB / 0.7436 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000914/0.713, allocations: 423.2 kB / 0.744 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 5.57e-06/0.713, allocations: 4 kB / 0.744 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.003144/0.7162, allocations: 1.088 MB / 0.7451 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7163, allocations: 188.6 kB / 0.7453 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.7172, allocations: 0.59 MB / 0.7458 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.7173, allocations: 45.7 kB / 0.7459 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.7177, allocations: 368.3 kB / 0.7462 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.7179, allocations: 236.6 kB / 0.7465 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.718, allocations: 61.69 kB / 0.7465 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.7183, allocations: 386.7 kB / 0.7469 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.7188, allocations: 237.9 kB / 0.7471 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.7194, allocations: 330.8 kB / 0.7474 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7205, allocations: 0.5589 MB / 0.748 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7205, allocations: 3.938 kB / 0.748 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001896/0.7224, allocations: 0.7744 MB / 0.7487 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.7225, allocations: 10.19 kB / 0.7487 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7225, allocations: 4.094 kB / 0.7488 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.7231, allocations: 76.72 kB / 0.7488 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.7238, allocations: 155.8 kB / 0.749 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.7259, allocations: 1.515 MB / 0.7505 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.7267, allocations: 91.42 kB / 0.7505 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.513e-05/0.7268, allocations: 39.97 kB / 0.7506 GB, free: 4.469 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 (83): * Single equations (assignments): 82 * 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.0005089/0.7273, allocations: 249.6 kB / 0.7508 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.7275, allocations: 75.06 kB / 0.7509 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.7298, allocations: 1.014 MB / 0.7519 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.7298, allocations: 12 kB / 0.7519 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7298, allocations: 4 kB / 0.7519 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7299, allocations: 3.984 kB / 0.7519 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.7332, allocations: 1.862 MB / 0.7537 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7332, allocations: 0 / 0.7537 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.7338, allocations: 147.8 kB / 0.7539 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/0.7343, allocations: 88.77 kB / 0.7539 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.7344, allocations: 19.92 kB / 0.754 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.7364, allocations: 1.548 MB / 0.7555 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7364, allocations: 0 / 0.7555 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.7384, allocations: 0.9258 MB / 0.7564 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.7389, allocations: 271.7 kB / 0.7566 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.7391, allocations: 16 kB / 0.7566 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.7397, allocations: 63.95 kB / 0.7567 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7399, allocations: 64.91 kB / 0.7568 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.74, allocations: 31.92 kB / 0.7568 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006652/0.7406, allocations: 427 kB / 0.7572 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.5e-07/0.7407, allocations: 4 kB / 0.7572 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001041/0.7417, allocations: 287.3 kB / 0.7575 GB, free: 13.13 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 (86): * Single equations (assignments): 83 * 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.001588/0.7433, allocations: 0.5947 MB / 0.7581 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.745, allocations: 0.7668 MB / 0.7588 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.7451, allocations: 0 / 0.7588 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.746, allocations: 0.4886 MB / 0.7593 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7475, allocations: 263.5 kB / 0.7595 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.7526, allocations: 2.104 MB / 0.7616 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/0.7536, allocations: 0.9965 MB / 0.7626 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001013/0.7546, allocations: 254.1 kB / 0.7628 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.7549, allocations: 103.4 kB / 0.7629 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.7549, allocations: 0 / 0.7629 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of Templates: time 0.02542/0.7803, allocations: 13.18 MB / 0.7758 GB, free: 10.7 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)