Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 102.6 kB / 15.98 MB, free: 6.77 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.001409/0.001409, allocations: 192.6 kB / 16.9 MB, free: 6.559 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7258/0.7258, allocations: 122.9 MB / 413.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 72.47 kB / 0.4906 GB, free: 14.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1787, allocations: 77.92 MB / 0.5667 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008185/0.187, allocations: 5.93 MB / 0.5725 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5216/0.7086, allocations: 148.6 MB / 0.7176 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.7099, allocations: 19.88 kB / 0.7176 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.711, allocations: 184.9 kB / 0.7178 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.7135, allocations: 0.5514 MB / 0.7183 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.7161, allocations: 0.7853 MB / 0.7191 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.7185, allocations: 1.642 MB / 0.7207 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.7199, allocations: 0.8617 MB / 0.7215 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009985/0.7209, allocations: 0.615 MB / 0.7221 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009833/0.7219, allocations: 0.6611 MB / 0.7228 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003689/0.7223, allocations: 156 kB / 0.7229 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.7235, allocations: 495.7 kB / 0.7234 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.7239, allocations: 370.8 kB / 0.7238 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.725, allocations: 0.7424 MB / 0.7245 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.7281, allocations: 1.978 MB / 0.7264 GB, free: 4.203 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.7281, allocations: 3.938 kB / 0.7264 GB, free: 4.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7281, allocations: 0 / 0.7264 GB, free: 4.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.477e-05/0.7282, allocations: 4 kB / 0.7264 GB, free: 4.195 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004083/0.7323, allocations: 1.717 MB / 0.7281 GB, free: 2.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.7324, allocations: 8.031 kB / 0.7281 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.7337, allocations: 227 kB / 0.7283 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.7354, allocations: 0.8407 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.7355, allocations: 94.39 kB / 0.7292 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.7358, allocations: 112 kB / 0.7293 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.7381, allocations: 1.198 MB / 0.7305 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.7382, allocations: 4 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.7383, allocations: 48 kB / 0.7306 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.7384, allocations: 32 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.7406, allocations: 1.293 MB / 0.7319 GB, free: 14.46 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.006064/0.7467, allocations: 3.574 MB / 0.7353 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.7487, allocations: 0.8719 MB / 0.7362 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.7494, allocations: 318.7 kB / 0.7365 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.7495, allocations: 32.61 kB / 0.7365 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.7509, allocations: 0.5242 MB / 0.737 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 3.897e-06/0.7509, allocations: 0 / 0.737 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.004093/0.755, allocations: 1.278 MB / 0.7383 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.7552, allocations: 192.9 kB / 0.7385 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.7565, allocations: 0.7369 MB / 0.7392 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.7566, allocations: 53.7 kB / 0.7392 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/0.7573, allocations: 0.5114 MB / 0.7397 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.7576, allocations: 283.9 kB / 0.74 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.758, allocations: 178.5 kB / 0.7402 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.7582, allocations: 345.9 kB / 0.7405 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/0.7589, allocations: 285.9 kB / 0.7408 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.7596, allocations: 395.1 kB / 0.7412 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.7609, allocations: 0.6525 MB / 0.7418 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7609, allocations: 11.94 kB / 0.7418 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00241/0.7633, allocations: 0.9189 MB / 0.7427 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7634, allocations: 7.938 kB / 0.7427 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7634, allocations: 0 / 0.7427 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006807/0.7641, allocations: 88.8 kB / 0.7428 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.7649, allocations: 175.8 kB / 0.743 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.7672, allocations: 1.633 MB / 0.7446 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009969/0.7682, allocations: 111.4 kB / 0.7447 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7683, allocations: 40.84 kB / 0.7447 GB, free: 0.8164 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 (104): * Single equations (assignments): 103 * 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.0006187/0.7689, allocations: 299.4 kB / 0.745 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.7692, allocations: 98.77 kB / 0.7451 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.772, allocations: 1.122 MB / 0.7462 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.772, allocations: 8 kB / 0.7462 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.772, allocations: 7.938 kB / 0.7462 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.772, allocations: 7.984 kB / 0.7462 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.7736, allocations: 1.048 MB / 0.7472 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7736, allocations: 0 / 0.7472 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.7743, allocations: 159.7 kB / 0.7474 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.7748, allocations: 72.8 kB / 0.7475 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.7749, allocations: 27.97 kB / 0.7475 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7769, allocations: 1.654 MB / 0.7491 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7769, allocations: 0 / 0.7491 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.7793, allocations: 0.9902 MB / 0.7501 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.7798, allocations: 283.5 kB / 0.7503 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.78, allocations: 24 kB / 0.7504 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.7808, allocations: 71.98 kB / 0.7504 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.781, allocations: 76.83 kB / 0.7505 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.7811, allocations: 35.98 kB / 0.7505 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008024/0.7819, allocations: 0.5185 MB / 0.751 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.751 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001096/0.783, allocations: 390.7 kB / 0.7514 GB, free: 9.695 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 (98): * Single equations (assignments): 92 * 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.001489/0.7845, allocations: 0.6126 MB / 0.752 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002794/0.7873, allocations: 1.101 MB / 0.7531 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7873, allocations: 0 / 0.7531 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7884, allocations: 0.5432 MB / 0.7536 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.79, allocations: 329.4 kB / 0.7539 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.7944, allocations: 2.537 MB / 0.7564 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.7952, allocations: 1.106 MB / 0.7575 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001112/0.7963, allocations: 291.6 kB / 0.7578 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.7967, allocations: 111.4 kB / 0.7579 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7967, allocations: 0 / 0.7579 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.03183/0.8285, allocations: 16.28 MB / 0.7738 GB, free: 3.125 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)