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: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 210.1 kB / 16.79 MB, free: 6.84 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.505/1.505, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 60.06 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1848, allocations: 77.93 MB / 0.5665 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006843/0.1917, allocations: 4.84 MB / 0.5712 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4941/0.6859, allocations: 148.3 MB / 0.716 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.687, allocations: 11.94 kB / 0.7161 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.6878, allocations: 155.1 kB / 0.7162 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.6903, allocations: 469.5 kB / 0.7166 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.6926, allocations: 0.7219 MB / 0.7174 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.6945, allocations: 1.276 MB / 0.7186 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6957, allocations: 0.5631 MB / 0.7191 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.6965, allocations: 418.3 kB / 0.7195 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008007/0.6973, allocations: 473.8 kB / 0.72 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.6976, allocations: 52 kB / 0.7201 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.6987, allocations: 406.1 kB / 0.7204 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.6991, allocations: 227.1 kB / 0.7207 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.6999, allocations: 0.4972 MB / 0.7211 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.7019, allocations: 1.527 MB / 0.7226 GB, free: 7.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7019, allocations: 0 / 0.7226 GB, free: 7.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7019, allocations: 4 kB / 0.7226 GB, free: 7.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.324e-05/0.702, allocations: 7.594 kB / 0.7226 GB, free: 7.898 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.00332/0.7053, allocations: 1.423 MB / 0.724 GB, free: 6.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7053, allocations: 12.03 kB / 0.724 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.7064, allocations: 179.4 kB / 0.7242 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.7077, allocations: 0.7347 MB / 0.7249 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.7077, allocations: 73.98 kB / 0.725 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7079, allocations: 76 kB / 0.7251 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.7097, allocations: 0.9145 MB / 0.726 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7097, allocations: 3.938 kB / 0.726 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/0.7098, allocations: 43.98 kB / 0.726 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.7098, allocations: 20 kB / 0.726 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.7117, allocations: 1.097 MB / 0.7271 GB, free: 3.195 MB / 0.545 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.004526/0.7162, allocations: 2.701 MB / 0.7297 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.7179, allocations: 0.7968 MB / 0.7305 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.7184, allocations: 302.6 kB / 0.7308 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.7185, allocations: 32.78 kB / 0.7308 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009599/0.7195, allocations: 495.1 kB / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.324e-06/0.7195, allocations: 0 / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.003298/0.7228, allocations: 1.194 MB / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.7229, allocations: 192.6 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/0.7238, allocations: 0.6293 MB / 0.7333 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.7239, allocations: 41.7 kB / 0.7333 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.7242, allocations: 396.4 kB / 0.7337 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.7245, allocations: 260.2 kB / 0.7339 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.7248, allocations: 162.5 kB / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.725, allocations: 390.7 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.7255, allocations: 265.8 kB / 0.7347 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.7262, allocations: 371 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.7273, allocations: 0.6072 MB / 0.7357 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7274, allocations: 4 kB / 0.7357 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002014/0.7294, allocations: 0.8488 MB / 0.7365 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7294, allocations: 4 kB / 0.7365 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7294, allocations: 0 / 0.7365 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.73, allocations: 88.77 kB / 0.7366 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.7308, allocations: 167.5 kB / 0.7367 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.7331, allocations: 1.528 MB / 0.7382 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.734, allocations: 97.81 kB / 0.7383 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.7341, allocations: 31.97 kB / 0.7384 GB, free: 7.246 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.0006017/0.7347, allocations: 267.4 kB / 0.7386 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.735, allocations: 90.91 kB / 0.7387 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.7376, allocations: 1.053 MB / 0.7397 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.7376, allocations: 19.94 kB / 0.7398 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7376, allocations: 0 / 0.7398 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.7376, allocations: 3.984 kB / 0.7398 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.7389, allocations: 0.8884 MB / 0.7406 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.7389, allocations: 0 / 0.7406 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.7395, allocations: 139.8 kB / 0.7408 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.74, allocations: 84.77 kB / 0.7408 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.7401, allocations: 23.98 kB / 0.7409 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.7421, allocations: 1.536 MB / 0.7424 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7422, allocations: 0 / 0.7424 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.7442, allocations: 0.9278 MB / 0.7433 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.7446, allocations: 279.7 kB / 0.7435 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7448, allocations: 24 kB / 0.7436 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.7455, allocations: 67.92 kB / 0.7436 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.7457, allocations: 64.91 kB / 0.7437 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.7457, allocations: 39.97 kB / 0.7437 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006042/0.7463, allocations: 451 kB / 0.7442 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7464, allocations: 0 / 0.7442 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009247/0.7473, allocations: 327.2 kB / 0.7445 GB, free: 0.75 MB / 0.5606 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.001502/0.7488, allocations: 0.6105 MB / 0.7451 GB, free: 328 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.7506, allocations: 0.8201 MB / 0.7459 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7506, allocations: 4 kB / 0.7459 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.7515, allocations: 0.5198 MB / 0.7464 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7527, allocations: 273.5 kB / 0.7466 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.7561, allocations: 2.056 MB / 0.7486 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.7568, allocations: 1.016 MB / 0.7496 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008683/0.7577, allocations: 262.6 kB / 0.7499 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.758, allocations: 111.4 kB / 0.75 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.758, allocations: 0 / 0.75 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.02537/0.7834, allocations: 14.38 MB / 0.764 GB, free: 13 MB / 0.5919 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)