Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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/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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 93.81 kB / 16.02 MB, free: 80 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.00102/0.00102, allocations: 184.1 kB / 16.92 MB, free: 6.934 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.49/1.49, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8234/0.8234, allocations: 115.5 MB / 407.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 8.688 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1858, allocations: 77.53 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006592/0.1924, allocations: 4.392 MB / 0.5642 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6551/0.8476, allocations: 146.7 MB / 0.7075 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.8489, allocations: 19.94 kB / 0.7075 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.8497, allocations: 150.8 kB / 0.7076 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.8523, allocations: 478.9 kB / 0.7081 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.8556, allocations: 0.722 MB / 0.7088 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.8586, allocations: 1.288 MB / 0.7101 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.8601, allocations: 0.5632 MB / 0.7106 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.8612, allocations: 346.3 kB / 0.7109 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.8621, allocations: 391.4 kB / 0.7113 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.8623, allocations: 24 kB / 0.7113 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.8637, allocations: 371.6 kB / 0.7117 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.864, allocations: 183.1 kB / 0.7119 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.8648, allocations: 474.8 kB / 0.7123 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.8676, allocations: 1.503 MB / 0.7138 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8676, allocations: 0 / 0.7138 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.048e-06/0.8676, allocations: 4 kB / 0.7138 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.539e-05/0.8677, allocations: 0 / 0.7138 GB, free: 9.152 MB / 0.5294 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.003715/0.8714, allocations: 1.209 MB / 0.715 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.8715, allocations: 8.031 kB / 0.715 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.8729, allocations: 195.4 kB / 0.7152 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.8748, allocations: 0.7346 MB / 0.7159 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.875, allocations: 62 kB / 0.7159 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.8752, allocations: 84 kB / 0.716 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.8778, allocations: 0.9223 MB / 0.7169 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.8779, allocations: 0 / 0.7169 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.878, allocations: 40 kB / 0.717 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.8781, allocations: 20 kB / 0.717 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.8811, allocations: 1.116 MB / 0.7181 GB, free: 4.641 MB / 0.5294 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.007757/0.8889, allocations: 2.76 MB / 0.7208 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.8915, allocations: 0.8949 MB / 0.7216 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/0.8923, allocations: 314.6 kB / 0.7219 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.8925, allocations: 28.62 kB / 0.722 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.8939, allocations: 0.4992 MB / 0.7225 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.958e-06/0.8939, allocations: 0 / 0.7225 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=79): time 0.004853/0.8988, allocations: 1.205 MB / 0.7236 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.899, allocations: 192.6 kB / 0.7238 GB, free: 14.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.9004, allocations: 0.6292 MB / 0.7244 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.9006, allocations: 41.7 kB / 0.7245 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.9011, allocations: 396.4 kB / 0.7248 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.9015, allocations: 256.3 kB / 0.7251 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.9017, allocations: 69.67 kB / 0.7252 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.9019, allocations: 386.7 kB / 0.7255 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.9028, allocations: 265.9 kB / 0.7258 GB, free: 12.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.9038, allocations: 367.1 kB / 0.7261 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.9056, allocations: 0.619 MB / 0.7267 GB, free: 11.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.9056, allocations: 0 / 0.7267 GB, free: 11.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003152/0.9088, allocations: 0.8566 MB / 0.7276 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.9088, allocations: 4 kB / 0.7276 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9089, allocations: 0 / 0.7276 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.9098, allocations: 84.88 kB / 0.7277 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.9108, allocations: 171.7 kB / 0.7278 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.9141, allocations: 1.528 MB / 0.7293 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.9155, allocations: 107.3 kB / 0.7294 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.9157, allocations: 39.97 kB / 0.7295 GB, free: 8.531 MB / 0.545 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 (93): * Single equations (assignments): 92 * 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.0008996/0.9166, allocations: 263.4 kB / 0.7297 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.9169, allocations: 83 kB / 0.7298 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.9207, allocations: 1.077 MB / 0.7308 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.9208, allocations: 8 kB / 0.7308 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9208, allocations: 0 / 0.7308 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9208, allocations: 3.984 kB / 0.7308 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.9262, allocations: 1.967 MB / 0.7328 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.9262, allocations: 7.938 kB / 0.7328 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.9272, allocations: 147.8 kB / 0.7329 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007993/0.928, allocations: 84.78 kB / 0.733 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/0.9281, allocations: 27.97 kB / 0.733 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.9309, allocations: 1.559 MB / 0.7345 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.931, allocations: 4.062 kB / 0.7345 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.9344, allocations: 0.9998 MB / 0.7355 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/0.9352, allocations: 287.7 kB / 0.7358 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.9354, allocations: 19.98 kB / 0.7358 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9365, allocations: 91.88 kB / 0.7359 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.9367, allocations: 68.89 kB / 0.736 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.9369, allocations: 35.98 kB / 0.736 GB, free: 1.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009785/0.9379, allocations: 459 kB / 0.7364 GB, free: 1.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9379, allocations: 0 / 0.7364 GB, free: 1.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001515/0.9394, allocations: 315.3 kB / 0.7367 GB, free: 0.8047 MB / 0.545 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.002156/0.9416, allocations: 0.5995 MB / 0.7373 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002714/0.9443, allocations: 0.8351 MB / 0.7381 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9443, allocations: 0 / 0.7381 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.9458, allocations: 0.5199 MB / 0.7387 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.948, allocations: 275.4 kB / 0.7389 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.953, allocations: 2.066 MB / 0.7409 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.954, allocations: 1.02 MB / 0.7419 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001496/0.9555, allocations: 262.5 kB / 0.7422 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.9559, allocations: 107.4 kB / 0.7423 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.843e-06/0.9559, allocations: 0 / 0.7423 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.03973/0.9956, allocations: 14.42 MB / 0.7564 GB, free: 13 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)