Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.8 kB / 15.98 MB, free: 6.359 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.00104/0.00104, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 122.9 MB / 413.6 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001398, allocations: 59.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.396, allocations: 77.92 MB / 0.5667 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00985/0.4059, allocations: 6.986 MB / 0.5735 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/0.58, allocations: 148.9 MB / 0.7189 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.5828, allocations: 23.88 kB / 0.719 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.5843, allocations: 210.3 kB / 0.7192 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.589, allocations: 0.6759 MB / 0.7198 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.5924, allocations: 0.9082 MB / 0.7207 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.596, allocations: 2.085 MB / 0.7227 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.598, allocations: 1.107 MB / 0.7238 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.5993, allocations: 0.8292 MB / 0.7246 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.6007, allocations: 0.8846 MB / 0.7255 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004938/0.6012, allocations: 220 kB / 0.7257 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.6026, allocations: 0.5465 MB / 0.7262 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006291/0.6033, allocations: 494.5 kB / 0.7267 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.6048, allocations: 0.9681 MB / 0.7277 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.6082, allocations: 2.609 MB / 0.7302 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.6082, allocations: 7.984 kB / 0.7302 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6082, allocations: 0 / 0.7302 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.71e-05/0.6083, allocations: 0 / 0.7302 GB, free: 2.961 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004841/0.6131, allocations: 2.045 MB / 0.7322 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6132, allocations: 12.62 kB / 0.7322 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.6144, allocations: 262.6 kB / 0.7325 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6161, allocations: 0.9657 MB / 0.7334 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.6163, allocations: 144.8 kB / 0.7335 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.6165, allocations: 152 kB / 0.7337 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.6196, allocations: 1.587 MB / 0.7352 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.6197, allocations: 3.938 kB / 0.7352 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.6198, allocations: 71.98 kB / 0.7353 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.6198, allocations: 36 kB / 0.7354 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.6223, allocations: 1.596 MB / 0.7369 GB, free: 11.93 MB / 0.5762 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.007702/0.6301, allocations: 4.73 MB / 0.7415 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.632, allocations: 1.098 MB / 0.7426 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.6328, allocations: 427.7 kB / 0.743 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.785e-05/0.6329, allocations: 45.06 kB / 0.7431 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.6342, allocations: 0.6919 MB / 0.7437 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 3.035e-06/0.6342, allocations: 0 / 0.7437 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.004349/0.6386, allocations: 1.661 MB / 0.7453 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.6387, allocations: 200.9 kB / 0.7455 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.64, allocations: 0.8375 MB / 0.7464 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6401, allocations: 53.7 kB / 0.7464 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.6406, allocations: 0.6129 MB / 0.747 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.6409, allocations: 362.8 kB / 0.7474 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.6413, allocations: 226.7 kB / 0.7476 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6415, allocations: 353.9 kB / 0.7479 GB, free: 348 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.285/0.9264, allocations: 395.7 kB / 0.7483 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.9277, allocations: 0.5123 MB / 0.7488 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.9293, allocations: 0.8865 MB / 0.7497 GB, free: 169 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9294, allocations: 0.75 kB / 0.7497 GB, free: 169 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002775/0.9321, allocations: 1.209 MB / 0.7508 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.9322, allocations: 5.594 kB / 0.7508 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9322, allocations: 2.641 kB / 0.7508 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.9329, allocations: 84.22 kB / 0.7509 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.934, allocations: 231.2 kB / 0.7511 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.9359, allocations: 1.668 MB / 0.7528 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9371, allocations: 138.8 kB / 0.7529 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.9372, allocations: 54.73 kB / 0.753 GB, free: 167 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006087/0.9378, allocations: 351.7 kB / 0.7533 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.938, allocations: 111.1 kB / 0.7534 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.9416, allocations: 1.534 MB / 0.7549 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.9417, allocations: 13 kB / 0.7549 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.9417, allocations: 8.125 kB / 0.7549 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.9417, allocations: 6.375 kB / 0.7549 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.9435, allocations: 1.373 MB / 0.7563 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9435, allocations: 0 / 0.7563 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.9443, allocations: 198.5 kB / 0.7565 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.9448, allocations: 72.33 kB / 0.7565 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.9449, allocations: 34.59 kB / 0.7566 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.9465, allocations: 1.678 MB / 0.7582 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9465, allocations: 0 / 0.7582 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.9491, allocations: 1.285 MB / 0.7594 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.9496, allocations: 358 kB / 0.7598 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.9498, allocations: 33.84 kB / 0.7598 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/0.9507, allocations: 93.05 kB / 0.7599 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.9509, allocations: 102.9 kB / 0.76 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.9511, allocations: 52.92 kB / 0.7601 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007813/0.9518, allocations: 0.6176 MB / 0.7607 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9519, allocations: 1.594 kB / 0.7607 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00113/0.953, allocations: 482.3 kB / 0.7611 GB, free: 162.7 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001283/0.9543, allocations: 0.6214 MB / 0.7617 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.9578, allocations: 1.429 MB / 0.7631 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9578, allocations: 0.5 kB / 0.7631 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.9591, allocations: 0.6825 MB / 0.7638 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.9605, allocations: 349.2 kB / 0.7641 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.9648, allocations: 3.183 MB / 0.7672 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.9655, allocations: 1.224 MB / 0.7684 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001158/0.9667, allocations: 317.8 kB / 0.7687 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.9671, allocations: 145 kB / 0.7689 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.9671, allocations: 0 / 0.7689 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0305/0.9976, allocations: 20.48 MB / 0.7889 GB, free: 144.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)