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.00102/0.00102, allocations: 80.8 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.001139/0.001139, allocations: 161 kB / 24.16 MB, free: 332 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.9476/0.9476, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.944/1.944, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 1.332e-06/1.332e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.882e-05, allocations: 6.203 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002962/0.002981, allocations: 2.553 MB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.004652, allocations: 1.265 MB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004765, allocations: 4 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.005141, allocations: 91.5 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.005444, allocations: 183 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.005731, allocations: 159.3 kB / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.006004, allocations: 334.8 kB / 0.7797 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.006228, allocations: 190.2 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.006442, allocations: 187.6 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.006656, allocations: 147.6 kB / 0.7802 GB, free: 332 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.006687, allocations: 20 kB / 0.7802 GB, free: 312 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.006901, allocations: 163.6 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.006983, allocations: 106.5 kB / 0.7804 GB, free: 44 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.007064, allocations: 91.75 kB / 0.7805 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.007392, allocations: 302.9 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007394, allocations: 0 / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/0.007395, allocations: 0 / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.0074, allocations: 0 / 0.7808 GB, free: 15.66 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.0005694/0.00797, allocations: 449.3 kB / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.008009, allocations: 9.344 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.008847, allocations: 113.9 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.009074, allocations: 194.4 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.00909, allocations: 13.88 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.009168, allocations: 36.47 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.009471, allocations: 276.4 kB / 0.7819 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.009485, allocations: 192 / 0.7819 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.009506, allocations: 12.66 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.009566, allocations: 29.42 kB / 0.7819 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.009705, allocations: 87.31 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.01054, allocations: 0.8408 MB / 0.7828 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.01074, allocations: 152 kB / 0.7829 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.01079, allocations: 36.84 kB / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.01086, allocations: 12.61 kB / 0.783 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01088, allocations: 39.25 kB / 0.783 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.01088, allocations: 1.719 kB / 0.783 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005832/0.01147, allocations: 357.9 kB / 0.7834 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.01149, allocations: 55.41 kB / 0.7834 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.0116, allocations: 171.6 kB / 0.7836 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01162, allocations: 33.7 kB / 0.7836 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.01169, allocations: 172.3 kB / 0.7838 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.01172, allocations: 67.94 kB / 0.7838 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.01179, allocations: 54.89 kB / 0.7839 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.274e-05/0.01187, allocations: 330.8 kB / 0.7842 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.01191, allocations: 31.98 kB / 0.7842 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.01199, allocations: 84.11 kB / 0.7843 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01212, allocations: 133.2 kB / 0.7845 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01213, allocations: 1.625 kB / 0.7845 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002919/0.01242, allocations: 210.1 kB / 0.7847 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01243, allocations: 8.75 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01244, allocations: 4 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.01278, allocations: 108.7 kB / 0.7848 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01291, allocations: 43.98 kB / 0.7848 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/0.01386, allocations: 1.355 MB / 0.7861 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.01394, allocations: 8 kB / 0.7861 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01396, allocations: 4 kB / 0.7861 GB, free: 9.855 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 8.298e-05/0.01404, allocations: 122.5 kB / 0.7863 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.01407, allocations: 23.92 kB / 0.7863 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01426, allocations: 140.2 kB / 0.7864 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01426, allocations: 5.438 kB / 0.7864 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01426, allocations: 0 / 0.7864 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01427, allocations: 7.984 kB / 0.7864 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.01465, allocations: 407.5 kB / 0.7868 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01466, allocations: 4 kB / 0.7868 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.01485, allocations: 65.62 kB / 0.7869 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01486, allocations: 3.938 kB / 0.7869 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01487, allocations: 8 kB / 0.7869 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01487, allocations: 0.9062 kB / 0.7869 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01487, allocations: 4 kB / 0.7869 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.01511, allocations: 307.8 kB / 0.7872 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.01515, allocations: 35.83 kB / 0.7872 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01517, allocations: 3.984 kB / 0.7872 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.01525, allocations: 8 kB / 0.7872 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.01527, allocations: 7.984 kB / 0.7872 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01528, allocations: 10.75 kB / 0.7873 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.01532, allocations: 43.31 kB / 0.7873 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01532, allocations: 3.938 kB / 0.7873 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002212/0.01554, allocations: 68 kB / 0.7874 GB, free: 8.543 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 0.0001094/0.01565, allocations: 96.28 kB / 0.7875 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.016, allocations: 271 kB / 0.7877 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01601, allocations: 4 kB / 0.7877 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.01607, allocations: 53.66 kB / 0.7878 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01628, allocations: 42.45 kB / 0.7878 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.01753, allocations: 0.5225 MB / 0.7883 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.0176, allocations: 108.2 kB / 0.7884 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.01768, allocations: 22.06 kB / 0.7884 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.01779, allocations: 80.98 kB / 0.7885 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.01779, allocations: 0 / 0.7885 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.005056/0.02285, allocations: 2.988 MB / 0.7914 GB, free: 4.434 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9141770070418715]