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.0009006/0.0009006, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.0009109/0.0009109, allocations: 169 kB / 24.25 MB, free: 208 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.9033/0.9033, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.835/1.835, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.613e-06/1.613e-06, allocations: 0 / 0.7753 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.309e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003122/0.003145, allocations: 2.549 MB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004861, allocations: 1.258 MB / 0.7791 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.004993, allocations: 5.406 kB / 0.7791 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.005465, allocations: 95.45 kB / 0.7792 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.005807, allocations: 176.4 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.00611, allocations: 165.2 kB / 0.7795 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.006386, allocations: 330.9 kB / 0.7798 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.006632, allocations: 190.2 kB / 0.78 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.006867, allocations: 200 kB / 0.7802 GB, free: 340 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.007093, allocations: 140.8 kB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.007123, allocations: 20 kB / 0.7803 GB, free: 180 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.007347, allocations: 166.5 kB / 0.7805 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.007449, allocations: 115.7 kB / 0.7806 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.007515, allocations: 79.83 kB / 0.7807 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.007826, allocations: 299 kB / 0.781 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.00783, allocations: 4 kB / 0.781 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007831, allocations: 0 / 0.781 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.007836, allocations: 0 / 0.781 GB, free: 15.53 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.0005801/0.008416, allocations: 455.8 kB / 0.7814 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.008457, allocations: 13.34 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.008902, allocations: 116.6 kB / 0.7815 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.009114, allocations: 182.2 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.009129, allocations: 16.88 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.009196, allocations: 32.53 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.009457, allocations: 277.4 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.009471, allocations: 8.125 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.009489, allocations: 12.11 kB / 0.782 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.009553, allocations: 28.48 kB / 0.7821 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.009666, allocations: 88.09 kB / 0.7821 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.01044, allocations: 0.8401 MB / 0.783 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.01062, allocations: 156.1 kB / 0.7831 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.01066, allocations: 29.64 kB / 0.7831 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.01073, allocations: 13.33 kB / 0.7832 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.01075, allocations: 34.56 kB / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.01075, allocations: 0 / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005654/0.01132, allocations: 363 kB / 0.7835 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.01134, allocations: 55.39 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.01144, allocations: 175.6 kB / 0.7838 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.01146, allocations: 29.7 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.01152, allocations: 160.5 kB / 0.7839 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.01156, allocations: 79.8 kB / 0.784 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01161, allocations: 54.58 kB / 0.7841 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.01169, allocations: 326.8 kB / 0.7844 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.01174, allocations: 29.3 kB / 0.7844 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.0118, allocations: 87.28 kB / 0.7845 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01194, allocations: 137.4 kB / 0.7846 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01194, allocations: 0 / 0.7846 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002754/0.01221, allocations: 207.8 kB / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01223, allocations: 11.25 kB / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01223, allocations: 0 / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.01254, allocations: 110.4 kB / 0.7849 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01266, allocations: 47.91 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/0.01355, allocations: 1.35 MB / 0.7863 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.01362, allocations: 8 kB / 0.7863 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01364, allocations: 8.812 kB / 0.7863 GB, free: 9.723 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.644e-05/0.01372, allocations: 125.2 kB / 0.7864 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.01375, allocations: 13.14 kB / 0.7864 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.01393, allocations: 152.6 kB / 0.7866 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.01393, allocations: 4 kB / 0.7866 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01394, allocations: 1.375 kB / 0.7866 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01394, allocations: 0 / 0.7866 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.01429, allocations: 408 kB / 0.787 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.0143, allocations: 5.359 kB / 0.787 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.01448, allocations: 63.89 kB / 0.787 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01449, allocations: 9.375 kB / 0.7871 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.0145, allocations: 7.984 kB / 0.7871 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.0145, allocations: 4 kB / 0.7871 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0145, allocations: 0 / 0.7871 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.01471, allocations: 309 kB / 0.7874 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.01476, allocations: 31.81 kB / 0.7874 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01478, allocations: 8 kB / 0.7874 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.01485, allocations: 4.656 kB / 0.7874 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.01487, allocations: 11.97 kB / 0.7874 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01488, allocations: 4.781 kB / 0.7874 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.01491, allocations: 45.81 kB / 0.7875 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-08/0.01491, allocations: 6.781 kB / 0.7875 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001963/0.01511, allocations: 64 kB / 0.7875 GB, free: 8.41 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.0001198/0.01523, allocations: 84.36 kB / 0.7876 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.01555, allocations: 282.8 kB / 0.7879 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01556, allocations: 0 / 0.7879 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.01561, allocations: 52.78 kB / 0.7879 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01582, allocations: 46.16 kB / 0.788 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.01669, allocations: 0.5222 MB / 0.7885 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.01675, allocations: 113.1 kB / 0.7886 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.339e-05/0.01683, allocations: 22.61 kB / 0.7886 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01693, allocations: 79.36 kB / 0.7887 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01693, allocations: 0 / 0.7887 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.004588/0.02152, allocations: 2.994 MB / 0.7916 GB, free: 4.285 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: 4.814310097135603]