Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.393/2.393, allocations: 251.2 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 180.8 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.626/2.626, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009495/0.0009488, allocations: 90.12 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006805, allocations: 10.34 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2249, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003566/0.2286, allocations: 2.138 MB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2302, allocations: 0.7327 MB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2304, allocations: 4 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2307, allocations: 27.78 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.2311, allocations: 79.62 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.2315, allocations: 87.83 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.2319, allocations: 235.3 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.2322, allocations: 179.2 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2324, allocations: 63.77 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.2326, allocations: 91.64 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.2327, allocations: 8 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2329, allocations: 51.91 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.233, allocations: 55.88 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.233, allocations: 49.64 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.2333, allocations: 155.9 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2333, allocations: 3.984 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2333, allocations: 0 / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.2334, allocations: 0 / 0.9029 GB, free: 61.44 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.0006636/0.234, allocations: 427.4 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.2341, allocations: 8.031 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.2346, allocations: 44.72 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2349, allocations: 220.1 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.235, allocations: 8.656 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.235, allocations: 16.31 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.2355, allocations: 223.5 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.2356, allocations: 7.938 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2356, allocations: 4 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.2357, allocations: 16.27 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.236, allocations: 148.6 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2373, allocations: 1.134 MB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.2375, allocations: 38.56 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.2376, allocations: 16.86 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2376, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2376, allocations: 30.56 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.856e-06/0.2376, allocations: 0 / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000261/0.2379, allocations: 81.61 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.238, allocations: 55.34 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.2382, allocations: 179.9 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2382, allocations: 25.7 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.2383, allocations: 143.3 kB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2383, allocations: 11.91 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.2383, allocations: 4 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2384, allocations: 318.8 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.2385, allocations: 19.98 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.2386, allocations: 89.44 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.2387, allocations: 35.92 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2387, allocations: 0 / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/0.239, allocations: 137.3 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/0.2391, allocations: 157.8 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2391, allocations: 4.234 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.2391, allocations: 4 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2394, allocations: 35.98 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2394, allocations: 3.938 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2395, allocations: 19.75 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2395, allocations: 7.984 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.2396, allocations: 4 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002168/0.2398, allocations: 99.95 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2398, allocations: 8.062 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.2398, allocations: 4 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.24, allocations: 23.98 kB / 0.9066 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.24, allocations: 15.86 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.2401, allocations: 11.84 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2401, allocations: 7.938 kB / 0.9066 GB, free: 57.25 MB / 0.6042 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.0001475/0.2403, allocations: 213 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.2403, allocations: 7.906 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.2404, allocations: 16.94 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2404, allocations: 4 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2404, allocations: 7.922 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2404, allocations: 3.938 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.2409, allocations: 465.2 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.241, allocations: 0 / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.241, allocations: 16.06 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.241, allocations: 0 / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2411, allocations: 0 / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.2411, allocations: 7.938 kB / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2411, allocations: 0 / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2412, allocations: 115.5 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.2413, allocations: 92.95 kB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2413, allocations: 4 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.2414, allocations: 7.922 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.2415, allocations: 0 / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2415, allocations: 7.938 kB / 0.9075 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2416, allocations: 126.5 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2416, allocations: 0 / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004828/0.2421, allocations: 51.84 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001044/0.2422, allocations: 99.25 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2425, allocations: 104.9 kB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2425, allocations: 3.938 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.2426, allocations: 20.23 kB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.243, allocations: 23.92 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.2436, allocations: 320.8 kB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2439, allocations: 0.7241 MB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000156/0.2441, allocations: 28.62 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.2441, allocations: 11.44 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/0.2441, allocations: 0 / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.004498/0.2486, allocations: 0.7965 MB / 0.9098 GB, free: 53.81 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)