Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.011/5.011, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002544/0.002543, allocations: 356.2 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.35/4.35, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 175.5 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004914, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2126, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00328/0.2159, allocations: 2.131 MB / 1.463 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2174, allocations: 0.7287 MB / 1.464 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2176, allocations: 7.938 kB / 1.464 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2177, allocations: 15.86 kB / 1.464 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.2181, allocations: 79.62 kB / 1.464 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.2185, allocations: 87.7 kB / 1.464 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.2188, allocations: 235.3 kB / 1.465 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.2191, allocations: 171.2 kB / 1.465 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.2192, allocations: 59.77 kB / 1.465 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2195, allocations: 91.66 kB / 1.465 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2195, allocations: 8 kB / 1.465 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2197, allocations: 51.89 kB / 1.465 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.2198, allocations: 47.83 kB / 1.465 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.2198, allocations: 49.64 kB / 1.465 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2201, allocations: 167.9 kB / 1.465 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2201, allocations: 0 / 1.465 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2201, allocations: 0 / 1.465 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2202, allocations: 0 / 1.465 GB, free: 2.652 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006245/0.2208, allocations: 427 kB / 1.466 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2208, allocations: 8.031 kB / 1.466 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.2214, allocations: 51.77 kB / 1.466 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2217, allocations: 202.9 kB / 1.466 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2217, allocations: 16.28 kB / 1.466 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.2217, allocations: 15.94 kB / 1.466 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2222, allocations: 226.9 kB / 1.466 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2222, allocations: 0 / 1.466 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.2223, allocations: 8 kB / 1.466 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.2223, allocations: 12.28 kB / 1.466 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.2227, allocations: 152.7 kB / 1.466 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2242, allocations: 1.13 MB / 1.467 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.2244, allocations: 42.5 kB / 1.467 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.2244, allocations: 24.89 kB / 1.467 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2245, allocations: 0 / 1.467 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.2245, allocations: 38.56 kB / 1.467 GB, free: 60 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.013e-06/0.2245, allocations: 4 kB / 1.467 GB, free: 56 kB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002956/0.2248, allocations: 69.58 kB / 1.468 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2249, allocations: 51.41 kB / 1.468 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.2251, allocations: 172.4 kB / 1.468 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.2252, allocations: 29.64 kB / 1.468 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2253, allocations: 143.4 kB / 1.468 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2253, allocations: 19.73 kB / 1.468 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.2254, allocations: 0 / 1.468 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2255, allocations: 322.8 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.2256, allocations: 19.98 kB / 1.468 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2257, allocations: 89.42 kB / 1.468 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2258, allocations: 32.12 kB / 1.468 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2259, allocations: 4 kB / 1.468 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000324/0.2262, allocations: 133.5 kB / 1.468 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.2264, allocations: 173.7 kB / 1.469 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2264, allocations: 0 / 1.469 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2264, allocations: 4 kB / 1.469 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2266, allocations: 20 kB / 1.469 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.2267, allocations: 11.92 kB / 1.469 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2268, allocations: 15.84 kB / 1.469 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2268, allocations: 12 kB / 1.469 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.2268, allocations: 4 kB / 1.469 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002314/0.2271, allocations: 91.72 kB / 1.469 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2271, allocations: 4 kB / 1.469 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.2271, allocations: 7.984 kB / 1.469 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2273, allocations: 20.31 kB / 1.469 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2273, allocations: 11.89 kB / 1.469 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.2274, allocations: 15.84 kB / 1.469 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2274, allocations: 15.92 kB / 1.469 GB, free: 14.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.2276, allocations: 205.6 kB / 1.469 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.2276, allocations: 7.906 kB / 1.469 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.2277, allocations: 16.88 kB / 1.469 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2277, allocations: 0 / 1.469 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2277, allocations: 0 / 1.469 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.2278, allocations: 104.9 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2279, allocations: 0 / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.228, allocations: 4 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.228, allocations: 0 / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001721/0.2282, allocations: 148.9 kB / 1.469 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002096/0.2284, allocations: 230.7 kB / 1.47 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.596e-05/0.2284, allocations: 15.98 kB / 1.47 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001437/0.2286, allocations: 129.8 kB / 1.47 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Backend: time 9.11e-07/0.2286, allocations: 0 / 1.47 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.2294, allocations: 197.2 kB / 1.47 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009839/0.2304, allocations: 0.7507 MB / 1.471 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.006059/0.2364, allocations: 1.404 MB / 1.472 GB, free: 11.18 MB / 0.6198 GB