Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.0009316/0.0009316, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.0009766/0.0009766, allocations: 164.8 kB / 24.97 MB, free: 8.645 MB / 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.9182/0.9182, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.984/1.984, allocations: 389.6 MB / 0.6362 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.063e-05, allocations: 3.062 kB / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003615/0.003645, allocations: 2.551 MB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.005622, allocations: 1.263 MB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.005762, allocations: 4 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.006296, allocations: 92.44 kB / 0.7798 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.006641, allocations: 179.9 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.006972, allocations: 166.5 kB / 0.7801 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.007293, allocations: 330.8 kB / 0.7804 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.007566, allocations: 190.2 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.007841, allocations: 195.6 kB / 0.7808 GB, free: 456 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.0081, allocations: 140.4 kB / 0.7809 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.008135, allocations: 20 kB / 0.781 GB, free: 296 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.008395, allocations: 164.2 kB / 0.7811 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.008513, allocations: 111.5 kB / 0.7812 GB, free: 24 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.008605, allocations: 91.89 kB / 0.7813 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.008962, allocations: 291.1 kB / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008966, allocations: 0 / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.008967, allocations: 7.875 kB / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.008973, allocations: 0 / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006296/0.009602, allocations: 452.1 kB / 0.782 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.009653, allocations: 13.33 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.01017, allocations: 115.6 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.01042, allocations: 182.5 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01044, allocations: 20.86 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.01052, allocations: 24.5 kB / 0.7824 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.01082, allocations: 279.8 kB / 0.7826 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01084, allocations: 192 / 0.7826 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01086, allocations: 21.02 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/0.01123, allocations: 24.48 kB / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.01136, allocations: 85.27 kB / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.01227, allocations: 0.847 MB / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01249, allocations: 152 kB / 0.7837 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.01254, allocations: 37.44 kB / 0.7838 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.593e-05/0.01262, allocations: 12.52 kB / 0.7838 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.01265, allocations: 31.62 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 4.308e-06/0.01265, allocations: 7.984 kB / 0.7838 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0006659/0.01332, allocations: 355.2 kB / 0.7841 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.01334, allocations: 55.41 kB / 0.7842 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01346, allocations: 179.4 kB / 0.7844 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01348, allocations: 29.7 kB / 0.7844 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.01355, allocations: 161 kB / 0.7846 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.0136, allocations: 80.22 kB / 0.7846 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.01366, allocations: 49.62 kB / 0.7847 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.01375, allocations: 330.8 kB / 0.785 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.0138, allocations: 29.73 kB / 0.785 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.01387, allocations: 87.23 kB / 0.7851 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01401, allocations: 141 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01401, allocations: 0.875 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003134/0.01433, allocations: 207.2 kB / 0.7854 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01434, allocations: 5 kB / 0.7854 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01435, allocations: 4 kB / 0.7854 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.0147, allocations: 108.1 kB / 0.7855 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01483, allocations: 40.83 kB / 0.7856 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.01588, allocations: 1.347 MB / 0.7869 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.01597, allocations: 11.94 kB / 0.7869 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01598, allocations: 8 kB / 0.7869 GB, free: 9.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.01608, allocations: 122.4 kB / 0.787 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.0161, allocations: 15.98 kB / 0.7871 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.01632, allocations: 148.8 kB / 0.7872 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.01632, allocations: 7.922 kB / 0.7872 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01633, allocations: 1.719 kB / 0.7872 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.01638, allocations: 23.89 kB / 0.7872 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.0164, allocations: 8 kB / 0.7872 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.01647, allocations: 0 / 0.7872 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.0165, allocations: 15.97 kB / 0.7872 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002838/0.01678, allocations: 264.8 kB / 0.7875 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002577/0.01704, allocations: 376.1 kB / 0.7879 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.056e-05/0.0171, allocations: 49.98 kB / 0.7879 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.01714, allocations: 41.81 kB / 0.7879 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of Backend: time 8.42e-07/0.01714, allocations: 0 / 0.7879 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.01787, allocations: 409.5 kB / 0.7883 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001142/0.01901, allocations: 1.014 MB / 0.7893 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.00728/0.02629, allocations: 4.654 MB / 0.7939 GB, free: 2.781 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01485550776124]