Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.336/2.336, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001323, allocations: 179.8 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 90.05 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006809/0.0006812, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2359, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003303/0.2392, allocations: 2.138 MB / 0.9016 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2407, allocations: 0.7327 MB / 0.9023 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2409, allocations: 0 / 0.9023 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.2411, allocations: 27.78 kB / 0.9023 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.2414, allocations: 79.69 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2418, allocations: 91.77 kB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.2421, allocations: 235.3 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.2423, allocations: 175.2 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/0.2424, allocations: 63.78 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2427, allocations: 87.66 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2427, allocations: 4 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.2429, allocations: 55.95 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.243, allocations: 51.81 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.243, allocations: 53.64 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.2433, allocations: 163.9 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2433, allocations: 0 / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2433, allocations: 0 / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2433, allocations: 0 / 0.9033 GB, free: 61.53 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.000585/0.2439, allocations: 423.3 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.244, allocations: 8.031 kB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.2445, allocations: 56.64 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2448, allocations: 220 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2448, allocations: 12.66 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.2449, allocations: 12.38 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.2455, allocations: 223.5 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2455, allocations: 3.938 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.2456, allocations: 8 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.2456, allocations: 20.27 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.2461, allocations: 140.7 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2477, allocations: 1.134 MB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2479, allocations: 46.5 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.248, allocations: 16.94 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.248, allocations: 4 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2481, allocations: 34.56 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 3.306e-06/0.2481, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003337/0.2484, allocations: 69.59 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2485, allocations: 55.34 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2487, allocations: 175.9 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2487, allocations: 29.64 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.2489, allocations: 147.3 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2489, allocations: 3.906 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2489, allocations: 4 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.249, allocations: 326.8 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.2491, allocations: 19.98 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2492, allocations: 83.44 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2494, allocations: 39.92 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.2494, allocations: 4 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003734/0.2498, allocations: 129.4 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.2499, allocations: 167.3 kB / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2499, allocations: 0 / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.25, allocations: 4 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.2502, allocations: 27.98 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.2503, allocations: 11.94 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.2504, allocations: 19.69 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2505, allocations: 8 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2505, allocations: 4 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002836/0.2508, allocations: 99.7 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2508, allocations: 4.312 kB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.2508, allocations: 7.938 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.251, allocations: 23.98 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2511, allocations: 11.92 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2512, allocations: 11.84 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2512, allocations: 8 kB / 0.907 GB, free: 57.34 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.0001587/0.2514, allocations: 217 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.2515, allocations: 7.906 kB / 0.9073 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.2515, allocations: 16.92 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2516, allocations: 0 / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2516, allocations: 4 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.2517, allocations: 92.95 kB / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2517, allocations: 3.984 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2519, allocations: 0 / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.2519, allocations: 4 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001762/0.2521, allocations: 137.2 kB / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002202/0.2523, allocations: 242.7 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.813e-05/0.2524, allocations: 19.98 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001443/0.2526, allocations: 122.5 kB / 0.9079 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of Backend: time 1.242e-06/0.2526, allocations: 0 / 0.9079 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009441/0.2535, allocations: 194.9 kB / 0.9081 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001083/0.2546, allocations: 0.757 MB / 0.9088 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.006122/0.2608, allocations: 1.406 MB / 0.9102 GB, free: 54.03 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)