Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002476/0.002475, allocations: 357 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.304/1.304, allocations: 165.8 MB / 182.5 MB, free: 5.934 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.376/4.376, allocations: 410.8 MB / 0.5995 GB, free: 2.121 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 180.4 kB / 0.6662 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004804, allocations: 12.05 kB / 0.7423 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4253, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00776/0.4331, allocations: 3.513 MB / 0.8116 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.5769, allocations: 136.3 MB / 0.9446 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.5777, allocations: 15.88 kB / 0.9446 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.578, allocations: 79.33 kB / 0.9447 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5794, allocations: 377.8 kB / 0.9451 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.5813, allocations: 0.5941 MB / 0.9457 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.5826, allocations: 1.008 MB / 0.9466 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.5833, allocations: 443.9 kB / 0.9471 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.5838, allocations: 282.6 kB / 0.9473 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.5842, allocations: 306.4 kB / 0.9476 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.5843, allocations: 20 kB / 0.9477 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000693/0.585, allocations: 271.5 kB / 0.9479 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.5852, allocations: 155.3 kB / 0.9481 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.5853, allocations: 173.2 kB / 0.9482 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.5864, allocations: 1.005 MB / 0.9492 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.313e-06/0.5864, allocations: 4 kB / 0.9492 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5864, allocations: 0 / 0.9492 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.5865, allocations: 4 kB / 0.9492 GB, free: 112.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0019/0.5884, allocations: 1.097 MB / 0.9503 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5884, allocations: 12.03 kB / 0.9503 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.5894, allocations: 190.6 kB / 0.9505 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5905, allocations: 0.6642 MB / 0.9511 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.5906, allocations: 57.95 kB / 0.9512 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5907, allocations: 78.44 kB / 0.9513 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.5923, allocations: 0.8403 MB / 0.9521 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5924, allocations: 2.438 kB / 0.9521 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/0.5925, allocations: 32 kB / 0.9521 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5925, allocations: 20 kB / 0.9521 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5944, allocations: 1.05 MB / 0.9532 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.5987, allocations: 2.351 MB / 0.9555 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.6002, allocations: 0.7071 MB / 0.9561 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.6008, allocations: 266.4 kB / 0.9564 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.079e-05/0.6009, allocations: 29.28 kB / 0.9564 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008528/0.6018, allocations: 431.1 kB / 0.9568 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=71): time 3.799e-06/0.6018, allocations: 0 / 0.9568 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71): time 0.003206/0.605, allocations: 1.069 MB / 0.9579 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.6051, allocations: 192.6 kB / 0.9581 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.6059, allocations: 0.5578 MB / 0.9586 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.6059, allocations: 37.7 kB / 0.9586 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.6062, allocations: 372.1 kB / 0.959 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.6064, allocations: 232.6 kB / 0.9592 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.6065, allocations: 16 kB / 0.9592 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6066, allocations: 374.8 kB / 0.9596 GB, free: 102 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.6071, allocations: 241.9 kB / 0.9598 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.6078, allocations: 318.4 kB / 0.9601 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.6085, allocations: 283.1 kB / 0.9604 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-06/0.6085, allocations: 4 kB / 0.9604 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002056/0.6106, allocations: 0.7627 MB / 0.9611 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6106, allocations: 8 kB / 0.9612 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.929e-06/0.6106, allocations: 0 / 0.9612 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.6113, allocations: 85.34 kB / 0.9612 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.612, allocations: 151.8 kB / 0.9614 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.6146, allocations: 1.515 MB / 0.9629 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.6154, allocations: 87.48 kB / 0.9629 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.6155, allocations: 31.97 kB / 0.963 GB, free: 98.38 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004637/0.616, allocations: 257.6 kB / 0.9632 GB, free: 98.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.6161, allocations: 76 kB / 0.9633 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.6186, allocations: 0.9709 MB / 0.9642 GB, free: 97.08 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.6187, allocations: 15.94 kB / 0.9643 GB, free: 97.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.596e-06/0.6187, allocations: 0.8125 kB / 0.9643 GB, free: 97.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6187, allocations: 7.984 kB / 0.9643 GB, free: 97.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6197, allocations: 0.8022 MB / 0.965 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-06/0.6198, allocations: 0 / 0.965 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.6205, allocations: 143.8 kB / 0.9652 GB, free: 96.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/0.6211, allocations: 86.03 kB / 0.9653 GB, free: 95.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.6211, allocations: 21.36 kB / 0.9653 GB, free: 95.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.6245, allocations: 1.548 MB / 0.9668 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.386e-06/0.6245, allocations: 4.031 kB / 0.9668 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.6286, allocations: 0.8225 MB / 0.9676 GB, free: 93.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/0.6295, allocations: 267.8 kB / 0.9679 GB, free: 93.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.6298, allocations: 19.98 kB / 0.9679 GB, free: 93.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6311, allocations: 59.95 kB / 0.9679 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.6314, allocations: 60.91 kB / 0.968 GB, free: 93.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6315, allocations: 31.98 kB / 0.968 GB, free: 92.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00114/0.6327, allocations: 411.1 kB / 0.9684 GB, free: 92.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.212e-06/0.6327, allocations: 0 / 0.9684 GB, free: 92.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001744/0.6345, allocations: 259.4 kB / 0.9687 GB, free: 92.32 MB / 0.5886 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002998/0.6375, allocations: 0.5471 MB / 0.9692 GB, free: 92.03 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003349/0.6409, allocations: 0.755 MB / 0.9699 GB, free: 91.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.77e-06/0.6409, allocations: 0 / 0.9699 GB, free: 91.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.6428, allocations: 488.3 kB / 0.9704 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6453, allocations: 247.5 kB / 0.9706 GB, free: 90.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.6531, allocations: 1.994 MB / 0.9726 GB, free: 88.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/0.6541, allocations: 1.003 MB / 0.9736 GB, free: 87.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002101/0.6562, allocations: 252 kB / 0.9738 GB, free: 87.29 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.6568, allocations: 99.39 kB / 0.9739 GB, free: 87.19 MB / 0.5886 GB Notification: Performance of SimCode: time 2.593e-06/0.6568, allocations: 0 / 0.9739 GB, free: 87.19 MB / 0.5886 GB Notification: Performance of Templates: time 0.05051/0.7073, allocations: 12.23 MB / 0.9858 GB, free: 75.3 MB / 0.5886 GB