Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 104 kB / 16.52 MB, free: 6.27 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.001247/0.001247, allocations: 196 kB / 17.44 MB, free: 5.887 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 115.3 MB / 406.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 60.12 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3357, allocations: 76.17 MB / 0.5564 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005354/0.3411, allocations: 4.846 MB / 0.5611 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4878, allocations: 148.3 MB / 0.7059 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.4888, allocations: 19.88 kB / 0.7059 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.4894, allocations: 150.9 kB / 0.7061 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.491, allocations: 470.6 kB / 0.7065 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4929, allocations: 0.7277 MB / 0.7072 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4942, allocations: 1.28 MB / 0.7085 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.4949, allocations: 0.5517 MB / 0.709 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.4955, allocations: 418.3 kB / 0.7094 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.4961, allocations: 483.7 kB / 0.7099 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4962, allocations: 56 kB / 0.7099 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008331/0.4971, allocations: 399.6 kB / 0.7103 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.4973, allocations: 235.1 kB / 0.7105 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.4977, allocations: 0.4972 MB / 0.711 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.4989, allocations: 1.193 MB / 0.7122 GB, free: 4.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4989, allocations: 0 / 0.7122 GB, free: 4.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.01e-07/0.4989, allocations: 0 / 0.7122 GB, free: 4.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.4989, allocations: 0 / 0.7122 GB, free: 4.621 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002443/0.5014, allocations: 1.43 MB / 0.7136 GB, free: 3.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5014, allocations: 12.03 kB / 0.7136 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.5023, allocations: 183.4 kB / 0.7138 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.5033, allocations: 0.7383 MB / 0.7145 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.5034, allocations: 58 kB / 0.7145 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5035, allocations: 88 kB / 0.7146 GB, free: 2.027 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.505, allocations: 0.9145 MB / 0.7155 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5051, allocations: 0 / 0.7155 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.5051, allocations: 40 kB / 0.7156 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.5052, allocations: 20 kB / 0.7156 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.5069, allocations: 1.104 MB / 0.7167 GB, free: 15.91 MB / 0.5606 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.003887/0.5108, allocations: 2.693 MB / 0.7193 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5123, allocations: 0.8057 MB / 0.7201 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.5128, allocations: 306.6 kB / 0.7204 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.5129, allocations: 28.69 kB / 0.7204 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009141/0.5138, allocations: 491.2 kB / 0.7209 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.305e-06/0.5139, allocations: 0 / 0.7209 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.00324/0.5171, allocations: 1.194 MB / 0.722 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5172, allocations: 192.6 kB / 0.7222 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.518, allocations: 0.6254 MB / 0.7228 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.5181, allocations: 45.7 kB / 0.7229 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.5184, allocations: 396.3 kB / 0.7232 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.5186, allocations: 260.3 kB / 0.7235 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.5188, allocations: 170.4 kB / 0.7237 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.519, allocations: 386.7 kB / 0.724 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.5195, allocations: 269.9 kB / 0.7243 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.5202, allocations: 367.1 kB / 0.7246 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.5213, allocations: 0.5994 MB / 0.7252 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5213, allocations: 7.938 kB / 0.7252 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001968/0.5233, allocations: 0.8527 MB / 0.7261 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5233, allocations: 8.094 kB / 0.7261 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5233, allocations: 4 kB / 0.7261 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.5239, allocations: 80.77 kB / 0.7261 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.5246, allocations: 167.7 kB / 0.7263 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.5267, allocations: 1.518 MB / 0.7278 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.5274, allocations: 95.45 kB / 0.7279 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.5275, allocations: 35.97 kB / 0.7279 GB, free: 3.945 MB / 0.5606 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 (95): * Single equations (assignments): 94 * 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.000425/0.5279, allocations: 265.9 kB / 0.7282 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.5281, allocations: 83 kB / 0.7282 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.5305, allocations: 1.058 MB / 0.7293 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5305, allocations: 8 kB / 0.7293 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5305, allocations: 7.984 kB / 0.7293 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5305, allocations: 3.984 kB / 0.7293 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5316, allocations: 0.8956 MB / 0.7302 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.5316, allocations: 0 / 0.7302 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.5322, allocations: 147.8 kB / 0.7303 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.5327, allocations: 84.72 kB / 0.7304 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.5328, allocations: 27.97 kB / 0.7304 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.5347, allocations: 1.544 MB / 0.7319 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5347, allocations: 3.938 kB / 0.7319 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.5367, allocations: 0.9201 MB / 0.7328 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.537, allocations: 271.7 kB / 0.7331 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.5372, allocations: 16 kB / 0.7331 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.5378, allocations: 69.95 kB / 0.7332 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.538, allocations: 72.89 kB / 0.7332 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.5381, allocations: 31.98 kB / 0.7333 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005864/0.5387, allocations: 459 kB / 0.7337 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5387, allocations: 0 / 0.7337 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008604/0.5395, allocations: 319.2 kB / 0.734 GB, free: 13.44 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001446/0.541, allocations: 0.601 MB / 0.7346 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5427, allocations: 0.8273 MB / 0.7354 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5428, allocations: 0 / 0.7354 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.5437, allocations: 0.516 MB / 0.7359 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5449, allocations: 272.8 kB / 0.7362 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5482, allocations: 2.102 MB / 0.7382 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.5489, allocations: 1.016 MB / 0.7392 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.5492, allocations: 119.4 kB / 0.7393 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of SimCode: time 1.784e-06/0.5493, allocations: 0 / 0.7393 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.2415/0.7908, allocations: 18.36 MB / 0.7573 GB, free: 167.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)