Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009385/0.0009385, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9517/0.9517, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.942/1.942, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.423e-05, allocations: 2.875 kB / 0.7751 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.006306/0.006331, allocations: 2.14 MB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.007191, allocations: 0.5257 MB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.01028, allocations: 7.938 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.01111, allocations: 426.5 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.01133, allocations: 103.4 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.01158, allocations: 105.9 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.0118, allocations: 203.4 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.01202, allocations: 143.4 kB / 0.7787 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.01214, allocations: 111.8 kB / 0.7788 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.01235, allocations: 84.53 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.01237, allocations: 13.5 kB / 0.7789 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.01249, allocations: 79.67 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.01256, allocations: 63.88 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.01261, allocations: 55.84 kB / 0.7791 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.01283, allocations: 164.6 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01283, allocations: 0 / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01284, allocations: 0 / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.01284, allocations: 5 kB / 0.7792 GB, free: 1.277 MB / 0.7292 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.0004076/0.01325, allocations: 336.5 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01328, allocations: 13.34 kB / 0.7796 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.01361, allocations: 65.84 kB / 0.7796 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.01378, allocations: 158.4 kB / 0.7798 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.0138, allocations: 14.09 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.01382, allocations: 16.38 kB / 0.7798 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.01403, allocations: 177.6 kB / 0.78 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01403, allocations: 192 / 0.78 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.01405, allocations: 5.031 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.01408, allocations: 24.2 kB / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.01416, allocations: 43.17 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.0148, allocations: 0.7158 MB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.01485, allocations: 22.58 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.01487, allocations: 13.7 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.01488, allocations: 0 / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.0149, allocations: 35.12 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.0149, allocations: 0 / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000116/0.01501, allocations: 46.78 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.01504, allocations: 55.39 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.01514, allocations: 145.9 kB / 0.781 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.01515, allocations: 25.7 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.01522, allocations: 152.4 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.01523, allocations: 11.91 kB / 0.7812 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.01527, allocations: 38.39 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.01536, allocations: 322.8 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.01538, allocations: 21.47 kB / 0.7816 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.01543, allocations: 77.36 kB / 0.7817 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.01553, allocations: 103.5 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01553, allocations: 1.062 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001288/0.01566, allocations: 99.69 kB / 0.7819 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01567, allocations: 8 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01568, allocations: 3.984 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.0157, allocations: 4.938 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.01578, allocations: 23.94 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01579, allocations: 8.922 kB / 0.7819 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.01584, allocations: 15.89 kB / 0.7819 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.01585, allocations: 4.938 kB / 0.7819 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.859e-05/0.0159, allocations: 98.89 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.984e-05/0.01595, allocations: 84.12 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.762e-05/0.01603, allocations: 94.88 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.01603, allocations: 7.984 kB / 0.7822 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001174/0.01615, allocations: 103.3 kB / 0.7823 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.01616, allocations: 8 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.01616, allocations: 4 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.01616, allocations: 4 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.01623, allocations: 24.88 kB / 0.7823 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01623, allocations: 7.984 kB / 0.7823 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.01628, allocations: 8.656 kB / 0.7823 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.01629, allocations: 8 kB / 0.7824 GB, free: 13.75 MB / 0.7448 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 7.172e-05/0.01636, allocations: 190 kB / 0.7825 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.01638, allocations: 4 kB / 0.7825 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.01641, allocations: 16.33 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01641, allocations: 0 / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01641, allocations: 0.9062 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01641, allocations: 0 / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.01667, allocations: 429.5 kB / 0.783 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01667, allocations: 4 kB / 0.783 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.01668, allocations: 13.69 kB / 0.783 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01669, allocations: 4 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.01669, allocations: 3.938 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01669, allocations: 0 / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01669, allocations: 9.031 kB / 0.783 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.737e-05/0.01675, allocations: 96.11 kB / 0.7831 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01677, allocations: 15.89 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.01678, allocations: 1.594 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.01679, allocations: 4 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.0168, allocations: 7.922 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.01681, allocations: 4 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.095e-05/0.01683, allocations: 27.83 kB / 0.7831 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01683, allocations: 0 / 0.7831 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001693/0.017, allocations: 56.78 kB / 0.7832 GB, free: 12.8 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.185e-05/0.01707, allocations: 81.14 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.01717, allocations: 100.9 kB / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01717, allocations: 0 / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.01719, allocations: 19.23 kB / 0.7834 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.0173, allocations: 19.92 kB / 0.7834 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.01796, allocations: 279.3 kB / 0.7837 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.018, allocations: 81.16 kB / 0.7838 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01804, allocations: 10.62 kB / 0.7838 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.01809, allocations: 63.36 kB / 0.7838 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01809, allocations: 0.5938 kB / 0.7838 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.002301/0.02039, allocations: 0.8665 MB / 0.7847 GB, free: 11.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.830239555798471]