Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.877/1.877, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001017/0.001017, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.559/1.559, allocations: 225.7 MB / 0.6743 GB, free: 12.64 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.0008258/0.0008258, allocations: 93.09 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 11.98 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.6293, allocations: 121.3 MB / 1.041 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007092/0.6364, allocations: 6.131 MB / 1.047 GB, free: 54.25 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.1764/0.8128, allocations: 147.5 MB / 1.191 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.8152, allocations: 35.81 kB / 1.191 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006197/0.8214, allocations: 1.79 MB / 1.193 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.825, allocations: 1.002 MB / 1.194 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.829, allocations: 1.205 MB / 1.195 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006718/0.8357, allocations: 5.04 MB / 1.2 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.8382, allocations: 1.213 MB / 1.201 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.8412, allocations: 1.239 MB / 1.202 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.8438, allocations: 1.195 MB / 1.203 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0006449/0.8445, allocations: 64 kB / 1.203 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006604/0.8511, allocations: 2.082 MB / 1.205 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.006115/0.8572, allocations: 4.07 MB / 1.209 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004072/0.8613, allocations: 1.329 MB / 1.211 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.876, allocations: 5.703 MB / 1.216 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.876, allocations: 4 kB / 1.216 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.535e-06/0.876, allocations: 0 / 1.216 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001758/0.8762, allocations: 0 / 1.216 GB, free: 1.254 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.0101/0.8863, allocations: 3.349 MB / 1.22 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 7.107e-05/0.8864, allocations: 12.03 kB / 1.22 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.889, allocations: 424.6 kB / 1.22 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/0.9077, allocations: 12.26 MB / 1.232 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.908, allocations: 167 kB / 1.232 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008056/0.9088, allocations: 236 kB / 1.232 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005798/0.9146, allocations: 2.281 MB / 1.235 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.9147, allocations: 0 / 1.235 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.915, allocations: 64 kB / 1.235 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.915, allocations: 40 kB / 1.235 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/0.9204, allocations: 2.404 MB / 1.237 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.9426, allocations: 14.95 MB / 1.252 GB, free: 12.74 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.9458, allocations: 1.866 MB / 1.253 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.9474, allocations: 1.242 MB / 1.255 GB, free: 9.625 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.9475, allocations: 37.03 kB / 1.255 GB, free: 9.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/0.9496, allocations: 1.263 MB / 1.256 GB, free: 8.309 MB / 0.823 GB Notification: Performance of pre-optimization done (n=126): time 3.767e-06/0.9496, allocations: 0 / 1.256 GB, free: 8.309 MB / 0.823 GB Notification: Performance of matching and sorting (n=126): time 0.006713/0.9563, allocations: 3.664 MB / 1.259 GB, free: 4.609 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002848/0.9566, allocations: 362.5 kB / 1.26 GB, free: 4.203 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03241/0.989, allocations: 20.51 MB / 1.28 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006161/0.9897, allocations: 85.7 kB / 1.28 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.9914, allocations: 1.127 MB / 1.281 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.9921, allocations: 433.8 kB / 1.281 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/0.9926, allocations: 67.94 kB / 1.282 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004016/0.993, allocations: 456.7 kB / 1.282 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01136/1.004, allocations: 12.36 MB / 1.294 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/1.016, allocations: 13.34 MB / 1.307 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/1.032, allocations: 15.09 MB / 1.322 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-05/1.032, allocations: 8 kB / 1.322 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.4726/1.505, allocations: 26.43 MB / 1.348 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/1.505, allocations: 206.3 kB / 1.348 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/1.505, allocations: 29.56 kB / 1.348 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/1.505, allocations: 128.5 kB / 1.348 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/1.508, allocations: 0.6835 MB / 1.349 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/1.509, allocations: 1.585 MB / 1.35 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/1.512, allocations: 374.4 kB / 1.351 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/1.512, allocations: 168.5 kB / 1.351 GB, free: 230.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * 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 (380): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 1 * 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.003221/1.515, allocations: 2.506 MB / 1.353 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/1.516, allocations: 254.6 kB / 1.353 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/1.521, allocations: 3.357 MB / 1.357 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.521, allocations: 10.66 kB / 1.357 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.521, allocations: 1.188 kB / 1.357 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.521, allocations: 7.219 kB / 1.357 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/1.53, allocations: 5.41 MB / 1.362 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.53, allocations: 1.094 kB / 1.362 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/1.531, allocations: 204.6 kB / 1.362 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/1.531, allocations: 83.62 kB / 1.362 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.532, allocations: 38.7 kB / 1.362 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/1.533, allocations: 1.544 MB / 1.364 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.533, allocations: 0 / 1.364 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/1.538, allocations: 3.281 MB / 1.367 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.539, allocations: 0.6081 MB / 1.368 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.54, allocations: 27.75 kB / 1.368 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/1.541, allocations: 99.77 kB / 1.368 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.541, allocations: 90.78 kB / 1.368 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.541, allocations: 63.41 kB / 1.368 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01184/1.553, allocations: 12.74 MB / 1.38 GB, free: 220 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/1.553, allocations: 0 / 1.38 GB, free: 220 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003577/1.557, allocations: 1.252 MB / 1.382 GB, free: 219.9 MB / 0.8855 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.002293/1.559, allocations: 1.076 MB / 1.383 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00996/1.569, allocations: 16.14 MB / 1.398 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.569, allocations: 4 kB / 1.398 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/1.571, allocations: 2.666 MB / 1.401 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.573, allocations: 425.4 kB / 1.401 GB, free: 202 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/1.606, allocations: 32.73 MB / 1.433 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007039/1.613, allocations: 6.35 MB / 1.44 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001881/1.615, allocations: 0.626 MB / 1.44 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/1.615, allocations: 205.6 kB / 1.44 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/1.615, allocations: 0 / 1.44 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.1035/1.719, allocations: 52.12 MB / 1.491 GB, free: 122.1 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)