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.01263/0.01263, allocations: 96.97 kB / 15.73 MB, free: 6.027 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.00212/0.00212, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.156/1.156, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5303, allocations: 80.9 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00546/0.5358, allocations: 4.128 MB / 0.6686 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.7216, allocations: 150.5 MB / 0.8156 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.7225, allocations: 19.88 kB / 0.8156 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.7231, allocations: 158.5 kB / 0.8158 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.7248, allocations: 485.5 kB / 0.8162 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.7269, allocations: 0.7874 MB / 0.817 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.7281, allocations: 1.184 MB / 0.8182 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/0.729, allocations: 0.6232 MB / 0.8188 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.7296, allocations: 430.5 kB / 0.8192 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.7301, allocations: 442 kB / 0.8196 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7303, allocations: 104 kB / 0.8197 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009347/0.7312, allocations: 479.5 kB / 0.8202 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.7315, allocations: 267.1 kB / 0.8204 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.7319, allocations: 0.4935 MB / 0.8209 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.7338, allocations: 1.482 MB / 0.8223 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.7338, allocations: 3.984 kB / 0.8223 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7338, allocations: 7.938 kB / 0.8223 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.7339, allocations: 0 / 0.8223 GB, free: 15.55 MB / 0.6544 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.002152/0.736, allocations: 1.356 MB / 0.8237 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7361, allocations: 8.031 kB / 0.8237 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.737, allocations: 184.1 kB / 0.8239 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7381, allocations: 0.7389 MB / 0.8246 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.7382, allocations: 58 kB / 0.8246 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.7383, allocations: 80 kB / 0.8247 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.7399, allocations: 0.8676 MB / 0.8256 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.7399, allocations: 0 / 0.8256 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.74, allocations: 32 kB / 0.8256 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.74, allocations: 20 kB / 0.8256 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.7418, allocations: 1.073 MB / 0.8267 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.7458, allocations: 2.344 MB / 0.8289 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.7473, allocations: 0.7851 MB / 0.8297 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.7478, allocations: 286.3 kB / 0.83 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-05/0.7479, allocations: 32.58 kB / 0.83 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000796/0.7487, allocations: 423.1 kB / 0.8304 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.7487, allocations: 0 / 0.8304 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.003021/0.7517, allocations: 1.07 MB / 0.8315 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.7519, allocations: 188.6 kB / 0.8316 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.7529, allocations: 0.5978 MB / 0.8322 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.7529, allocations: 41.7 kB / 0.8323 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.7533, allocations: 373 kB / 0.8326 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.7535, allocations: 257.8 kB / 0.8329 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.7538, allocations: 150.6 kB / 0.833 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.754, allocations: 378.8 kB / 0.8334 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.7544, allocations: 237.9 kB / 0.8336 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.755, allocations: 318.8 kB / 0.8339 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7561, allocations: 0.555 MB / 0.8344 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7561, allocations: 3.938 kB / 0.8344 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001833/0.7579, allocations: 0.767 MB / 0.8352 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.758, allocations: 4 kB / 0.8352 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.758, allocations: 4 kB / 0.8352 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.7585, allocations: 80.81 kB / 0.8353 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.7591, allocations: 147.8 kB / 0.8354 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.7612, allocations: 1.637 MB / 0.837 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/0.7619, allocations: 83.62 kB / 0.8371 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.7619, allocations: 35.97 kB / 0.8371 GB, free: 15.88 MB / 0.67 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.0003988/0.7624, allocations: 256.6 kB / 0.8374 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.7625, allocations: 87.36 kB / 0.8375 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.7647, allocations: 0.9981 MB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.7647, allocations: 11.98 kB / 0.8384 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.7647, allocations: 0 / 0.8384 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7648, allocations: 3.984 kB / 0.8385 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.7677, allocations: 1.85 MB / 0.8403 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7677, allocations: 0 / 0.8403 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.7683, allocations: 147.8 kB / 0.8404 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.7688, allocations: 76.73 kB / 0.8405 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.7688, allocations: 19.97 kB / 0.8405 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.7707, allocations: 1.654 MB / 0.8421 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7707, allocations: 3.938 kB / 0.8421 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.7725, allocations: 0.9128 MB / 0.843 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.7729, allocations: 272.2 kB / 0.8433 GB, free: 9.324 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.713e-05/0.773, allocations: 16 kB / 0.8433 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.7735, allocations: 51.95 kB / 0.8433 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.7736, allocations: 64.91 kB / 0.8434 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.7737, allocations: 27.98 kB / 0.8434 GB, free: 9.168 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004949/0.7742, allocations: 427 kB / 0.8438 GB, free: 8.758 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7742, allocations: 0 / 0.8438 GB, free: 8.758 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007941/0.775, allocations: 295.2 kB / 0.8441 GB, free: 8.469 MB / 0.67 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.001322/0.7763, allocations: 0.6027 MB / 0.8447 GB, free: 8.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.7779, allocations: 0.7552 MB / 0.8454 GB, free: 7.273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7779, allocations: 4 kB / 0.8454 GB, free: 7.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.7788, allocations: 496.2 kB / 0.8459 GB, free: 6.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7799, allocations: 290.2 kB / 0.8462 GB, free: 6.508 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.7836, allocations: 1.667 MB / 0.8478 GB, free: 4.812 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.7843, allocations: 1.003 MB / 0.8488 GB, free: 3.781 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007634/0.785, allocations: 254.1 kB / 0.849 GB, free: 3.531 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.7853, allocations: 99.39 kB / 0.8491 GB, free: 3.434 MB / 0.67 GB Notification: Performance of SimCode: time 2.8e-07/0.7853, allocations: 0 / 0.8491 GB, free: 3.434 MB / 0.67 GB Notification: Performance of Templates: time 0.0217/0.807, allocations: 13.94 MB / 0.8627 GB, free: 5.637 MB / 0.6856 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)