Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.001123/0.001123, allocations: 179.4 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006954/0.0006954, allocations: 90.31 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003065, allocations: 8.812 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002293/0.2139, allocations: 2.233 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.2148, allocations: 0.7752 MB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.2149, allocations: 4 kB / 0.8997 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.2159, allocations: 0.5655 MB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.2162, allocations: 99.61 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2164, allocations: 98.56 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2167, allocations: 299.3 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2169, allocations: 106.1 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.217, allocations: 59.72 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.2172, allocations: 95.64 kB / 0.901 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2172, allocations: 8 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2174, allocations: 139.6 kB / 0.9011 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2175, allocations: 47.88 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.2175, allocations: 63.67 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2178, allocations: 219.3 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2178, allocations: 11.88 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2178, allocations: 0 / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2178, allocations: 0 / 0.9014 GB, free: 63.37 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.0004808/0.2183, allocations: 419.2 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2183, allocations: 8.031 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.2187, allocations: 40.72 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.2188, allocations: 228 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2189, allocations: 8.656 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.2189, allocations: 16.38 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.2192, allocations: 230.9 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2192, allocations: 0 / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.2192, allocations: 11.98 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.2192, allocations: 20.27 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.2194, allocations: 140.7 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.2202, allocations: 1.126 MB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.2203, allocations: 42.56 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.2203, allocations: 16.86 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2204, allocations: 0 / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.2204, allocations: 38.5 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2204, allocations: 0 / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.2206, allocations: 81.59 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2206, allocations: 55.41 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2207, allocations: 181.8 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2207, allocations: 25.7 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.2208, allocations: 143.4 kB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2208, allocations: 11.81 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2209, allocations: 17.72 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.221, allocations: 322.8 kB / 0.9045 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.221, allocations: 23.98 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.2211, allocations: 93.31 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2212, allocations: 129.3 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2212, allocations: 0 / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001564/0.2214, allocations: 133.3 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.2214, allocations: 164.3 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2214, allocations: 4 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2215, allocations: 4 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2216, allocations: 27.92 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.2217, allocations: 4 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.2217, allocations: 15.84 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2217, allocations: 8 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.2218, allocations: 4 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001229/0.2219, allocations: 103.7 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2219, allocations: 4 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/0.2219, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.222, allocations: 27.92 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.222, allocations: 4 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.222, allocations: 15.84 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2221, allocations: 12.25 kB / 0.9052 GB, free: 59.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/0.2222, allocations: 217 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.2222, allocations: 7.906 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.2222, allocations: 16.92 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2222, allocations: 3.938 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2222, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2223, allocations: 92.89 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2223, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.2224, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2224, allocations: 11.98 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.779e-05/0.2225, allocations: 133 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.211e-05/0.2226, allocations: 242.5 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.903e-05/0.2226, allocations: 16.38 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.2227, allocations: 128.9 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.162e-06/0.2227, allocations: 0 / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.2232, allocations: 239.1 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005702/0.2238, allocations: 0.7537 MB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.003513/0.2273, allocations: 1.458 MB / 0.9085 GB, free: 55.65 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)