Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.853/1.853, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 187.2 kB / 393.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 92.95 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6315/0.6318, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005414/0.6373, allocations: 5.013 MB / 1.046 GB, free: 55.06 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.1555/0.7928, allocations: 146.3 MB / 1.189 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.794, allocations: 23.88 kB / 1.189 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.7989, allocations: 1.604 MB / 1.19 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.801, allocations: 0.6151 MB / 1.191 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.8034, allocations: 0.8406 MB / 1.192 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.807, allocations: 3.135 MB / 1.195 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.8083, allocations: 0.9038 MB / 1.196 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.8098, allocations: 0.8445 MB / 1.196 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.811, allocations: 0.7654 MB / 1.197 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.8112, allocations: 40 kB / 1.197 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.8151, allocations: 1.857 MB / 1.199 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.8166, allocations: 1.715 MB / 1.201 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.8176, allocations: 0.9055 MB / 1.202 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.824, allocations: 3.939 MB / 1.205 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.824, allocations: 0 / 1.205 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.924e-06/0.824, allocations: 0 / 1.205 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.515e-05/0.8241, allocations: 0 / 1.205 GB, free: 12.33 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.00454/0.8286, allocations: 2.395 MB / 1.208 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8287, allocations: 12.03 kB / 1.208 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.8296, allocations: 294 kB / 1.208 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.8346, allocations: 4.509 MB / 1.212 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.8347, allocations: 126.3 kB / 1.213 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.835, allocations: 176 kB / 1.213 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.8376, allocations: 1.58 MB / 1.214 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.8377, allocations: 4 kB / 1.214 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.8378, allocations: 48 kB / 1.214 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.8378, allocations: 28 kB / 1.214 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.8402, allocations: 1.659 MB / 1.216 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009374/0.8496, allocations: 6.918 MB / 1.223 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.8516, allocations: 1.464 MB / 1.224 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.8527, allocations: 0.9992 MB / 1.225 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.654e-05/0.8528, allocations: 41.67 kB / 1.225 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.8539, allocations: 0.8887 MB / 1.226 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=106): time 3.316e-06/0.8539, allocations: 0 / 1.226 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of matching and sorting (n=106): time 0.003637/0.8576, allocations: 2.666 MB / 1.229 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.8578, allocations: 346.2 kB / 1.229 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009374/0.8672, allocations: 7.319 MB / 1.236 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003923/0.8676, allocations: 65.7 kB / 1.236 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/0.8683, allocations: 0.7604 MB / 1.237 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.8686, allocations: 358.9 kB / 1.237 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.8687, allocations: 48 kB / 1.237 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.8689, allocations: 410.7 kB / 1.238 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004112/0.8731, allocations: 4.652 MB / 1.242 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/0.878, allocations: 5.401 MB / 1.248 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006649/0.8847, allocations: 6.78 MB / 1.254 GB, free: 9.504 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.8847, allocations: 4 kB / 1.254 GB, free: 9.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01022/0.8949, allocations: 10.56 MB / 1.264 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.8952, allocations: 189.6 kB / 1.265 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.8952, allocations: 28.47 kB / 1.265 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.571e-05/0.8953, allocations: 36 kB / 1.265 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.8969, allocations: 499.1 kB / 1.265 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/0.897, allocations: 47.86 kB / 1.265 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.8984, allocations: 278.9 kB / 1.266 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.8986, allocations: 119.9 kB / 1.266 GB, free: 13.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.9001, allocations: 1.237 MB / 1.267 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.9003, allocations: 173.7 kB / 1.267 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.9039, allocations: 2.594 MB / 1.27 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9039, allocations: 12 kB / 1.27 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9039, allocations: 3.938 kB / 1.27 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9039, allocations: 3.984 kB / 1.27 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.9093, allocations: 4.1 MB / 1.274 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9093, allocations: 4 kB / 1.274 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.91, allocations: 151.8 kB / 1.274 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.91, allocations: 4 kB / 1.274 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/0.9101, allocations: 27.98 kB / 1.274 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.9101, allocations: 4 kB / 1.274 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9101, allocations: 0 / 1.274 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.9134, allocations: 2.573 MB / 1.276 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007585/0.9142, allocations: 442.3 kB / 1.277 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.9144, allocations: 20 kB / 1.277 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.9151, allocations: 77.47 kB / 1.277 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.9153, allocations: 68.91 kB / 1.277 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/0.9154, allocations: 43.98 kB / 1.277 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004205/0.9196, allocations: 4.596 MB / 1.281 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9196, allocations: 0 / 1.281 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003756/0.9234, allocations: 1.003 MB / 1.282 GB, free: 12.44 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/0.926, allocations: 1.015 MB / 1.283 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007494/0.9335, allocations: 7.787 MB / 1.291 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.9335, allocations: 4 kB / 1.291 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.9357, allocations: 2.184 MB / 1.293 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.9374, allocations: 317 kB / 1.293 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.9523, allocations: 13.14 MB / 1.306 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/0.955, allocations: 2.855 MB / 1.309 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001497/0.9565, allocations: 435.8 kB / 1.309 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.9569, allocations: 143.4 kB / 1.31 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/0.9569, allocations: 3.938 kB / 1.31 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of Templates: time 0.4929/1.45, allocations: 31.59 MB / 1.34 GB, free: 232.1 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)