Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001459/0.001459, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001309/0.001309, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 60.03 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2014, allocations: 80.92 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006421/0.2079, allocations: 4.131 MB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.483/0.6909, allocations: 148.2 MB / 0.7327 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009109/0.6918, allocations: 23.44 kB / 0.7327 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.6925, allocations: 135.9 kB / 0.7328 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.6944, allocations: 413.7 kB / 0.7332 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.6966, allocations: 0.7104 MB / 0.7339 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.6983, allocations: 1.181 MB / 0.7351 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.6994, allocations: 0.6039 MB / 0.7357 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.7003, allocations: 439.9 kB / 0.7361 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007452/0.701, allocations: 455.6 kB / 0.7365 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.7012, allocations: 103.7 kB / 0.7366 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.7022, allocations: 440.4 kB / 0.737 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.7025, allocations: 270 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.703, allocations: 0.4912 MB / 0.7378 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.705, allocations: 1.447 MB / 0.7392 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.705, allocations: 8 kB / 0.7392 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.705, allocations: 0 / 0.7392 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.705, allocations: 0 / 0.7392 GB, free: 10.65 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.002517/0.7076, allocations: 1.317 MB / 0.7405 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7076, allocations: 9.344 kB / 0.7405 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.7086, allocations: 187.3 kB / 0.7407 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.7096, allocations: 0.7085 MB / 0.7414 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.7097, allocations: 57.41 kB / 0.7414 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7098, allocations: 74.25 kB / 0.7415 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.7114, allocations: 0.8648 MB / 0.7423 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.7114, allocations: 0 / 0.7423 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.7115, allocations: 31.62 kB / 0.7424 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.7115, allocations: 20.88 kB / 0.7424 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.7131, allocations: 1.071 MB / 0.7434 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.7168, allocations: 2.358 MB / 0.7457 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7181, allocations: 0.7949 MB / 0.7465 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.7186, allocations: 277.4 kB / 0.7468 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.7187, allocations: 26.23 kB / 0.7468 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008395/0.7196, allocations: 434.2 kB / 0.7472 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.7196, allocations: 0 / 0.7472 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002966/0.7226, allocations: 1.081 MB / 0.7483 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7227, allocations: 192.3 kB / 0.7484 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.7234, allocations: 0.59 MB / 0.749 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.7235, allocations: 37.7 kB / 0.7491 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.7238, allocations: 376.3 kB / 0.7494 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.724, allocations: 236.5 kB / 0.7496 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.7243, allocations: 154.5 kB / 0.7498 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.7245, allocations: 378.8 kB / 0.7501 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.7249, allocations: 237.9 kB / 0.7504 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.7255, allocations: 322.8 kB / 0.7507 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7266, allocations: 0.5511 MB / 0.7512 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7266, allocations: 4 kB / 0.7512 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00188/0.7285, allocations: 0.7665 MB / 0.752 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.7285, allocations: 8 kB / 0.752 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7285, allocations: 4.094 kB / 0.752 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.7292, allocations: 80.72 kB / 0.7521 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.7298, allocations: 147.8 kB / 0.7522 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.7322, allocations: 1.633 MB / 0.7538 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.7329, allocations: 80.17 kB / 0.7539 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.733, allocations: 27.98 kB / 0.7539 GB, free: 14.47 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.000457/0.7334, allocations: 253.7 kB / 0.7541 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7336, allocations: 87 kB / 0.7542 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.736, allocations: 0.9939 MB / 0.7552 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.736, allocations: 8 kB / 0.7552 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.736, allocations: 5.625 kB / 0.7552 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.736, allocations: 7.969 kB / 0.7552 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.7393, allocations: 1.842 MB / 0.757 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7393, allocations: 3.984 kB / 0.757 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.7398, allocations: 147.7 kB / 0.7572 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.7403, allocations: 72.73 kB / 0.7572 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.7404, allocations: 23.98 kB / 0.7573 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.7424, allocations: 1.656 MB / 0.7589 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7424, allocations: 0 / 0.7589 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7444, allocations: 0.9257 MB / 0.7598 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.7448, allocations: 252 kB / 0.76 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7449, allocations: 27.02 kB / 0.76 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.7456, allocations: 51.94 kB / 0.7601 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7457, allocations: 60.91 kB / 0.7601 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.7458, allocations: 31.98 kB / 0.7602 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006577/0.7465, allocations: 435 kB / 0.7606 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7465, allocations: 0 / 0.7606 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001092/0.7476, allocations: 279.4 kB / 0.7609 GB, free: 7.082 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 (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.001739/0.7493, allocations: 0.6045 MB / 0.7614 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.7516, allocations: 0.9461 MB / 0.7624 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7516, allocations: 0 / 0.7624 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.7526, allocations: 0.4885 MB / 0.7628 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.754, allocations: 285.8 kB / 0.7631 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.7586, allocations: 2.037 MB / 0.7651 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/0.7595, allocations: 1.007 MB / 0.7661 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009592/0.7605, allocations: 258.1 kB / 0.7663 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7608, allocations: 95.39 kB / 0.7664 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.7608, allocations: 0 / 0.7664 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of Templates: time 0.02727/0.788, allocations: 13.72 MB / 0.7798 GB, free: 3.973 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)