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.001357/0.001357, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001045/0.001045, allocations: 173.9 kB / 25.18 MB, free: 9.109 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.9075/0.9075, allocations: 177.1 MB / 205.6 MB, free: 5.008 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.798/1.798, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.573e-06/1.573e-06, allocations: 0 / 0.7755 GB, free: 6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.675e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003114/0.003141, allocations: 2.546 MB / 0.778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.004828, allocations: 1.268 MB / 0.7793 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.004953, allocations: 4.75 kB / 0.7793 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.005386, allocations: 92.95 kB / 0.7794 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.005714, allocations: 182.9 kB / 0.7795 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.006007, allocations: 161.2 kB / 0.7797 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.006301, allocations: 331.7 kB / 0.78 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.006551, allocations: 186.3 kB / 0.7802 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.006798, allocations: 196 kB / 0.7804 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.007037, allocations: 144.4 kB / 0.7805 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.007065, allocations: 20 kB / 0.7805 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.007305, allocations: 166.3 kB / 0.7807 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.007396, allocations: 115.7 kB / 0.7808 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.007468, allocations: 79.83 kB / 0.7809 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.007802, allocations: 303 kB / 0.7812 GB, free: 276 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.007806, allocations: 0 / 0.7812 GB, free: 276 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007807, allocations: 4 kB / 0.7812 GB, free: 272 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.007812, allocations: 3.938 kB / 0.7812 GB, free: 268 kB / 0.7292 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.0005723/0.008384, allocations: 442.8 kB / 0.7816 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.008419, allocations: 13.34 kB / 0.7816 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.00886, allocations: 120.6 kB / 0.7817 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.009071, allocations: 178.6 kB / 0.7819 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.009089, allocations: 24.86 kB / 0.7819 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.009167, allocations: 32.47 kB / 0.7819 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.009722, allocations: 279.8 kB / 0.7822 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.009733, allocations: 192 / 0.7822 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.009755, allocations: 8.125 kB / 0.7822 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.555e-05/0.009821, allocations: 30.23 kB / 0.7822 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.009939, allocations: 91.36 kB / 0.7823 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.01074, allocations: 0.8394 MB / 0.7831 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.01094, allocations: 164.6 kB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.01097, allocations: 28.86 kB / 0.7833 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/0.01104, allocations: 17.11 kB / 0.7833 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01106, allocations: 30.56 kB / 0.7834 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.01107, allocations: 0.8125 kB / 0.7834 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005749/0.01164, allocations: 360.5 kB / 0.7837 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01167, allocations: 55.39 kB / 0.7838 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.01177, allocations: 175 kB / 0.7839 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.01178, allocations: 29.7 kB / 0.784 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.01185, allocations: 165.1 kB / 0.7841 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.01188, allocations: 68.09 kB / 0.7842 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01194, allocations: 57.66 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.01202, allocations: 328.2 kB / 0.7846 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.01206, allocations: 27.98 kB / 0.7846 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.01213, allocations: 95.22 kB / 0.7847 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01226, allocations: 133.6 kB / 0.7848 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01226, allocations: 0 / 0.7848 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002815/0.01254, allocations: 204 kB / 0.785 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01256, allocations: 8.938 kB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01256, allocations: 0 / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.01289, allocations: 113.4 kB / 0.7851 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01301, allocations: 47.97 kB / 0.7852 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009436/0.01396, allocations: 1.351 MB / 0.7865 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.01404, allocations: 7.938 kB / 0.7865 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01406, allocations: 8 kB / 0.7865 GB, free: 10.46 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.869e-05/0.01415, allocations: 126 kB / 0.7866 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01417, allocations: 15.92 kB / 0.7866 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.01436, allocations: 152.5 kB / 0.7868 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01437, allocations: 4 kB / 0.7868 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01437, allocations: 1.25 kB / 0.7868 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01437, allocations: 0 / 0.7868 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.01474, allocations: 406.7 kB / 0.7872 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01475, allocations: 3.984 kB / 0.7872 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.01494, allocations: 64.67 kB / 0.7872 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.01494, allocations: 10.31 kB / 0.7872 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01495, allocations: 7.984 kB / 0.7873 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01496, allocations: 4 kB / 0.7873 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01496, allocations: 0 / 0.7873 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.01518, allocations: 305.2 kB / 0.7875 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.01523, allocations: 31.81 kB / 0.7876 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01524, allocations: 10.44 kB / 0.7876 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.01531, allocations: 4 kB / 0.7876 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.01534, allocations: 15.97 kB / 0.7876 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.01534, allocations: 0 / 0.7876 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.01539, allocations: 51.31 kB / 0.7877 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01539, allocations: 0 / 0.7877 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002084/0.0156, allocations: 64 kB / 0.7877 GB, free: 9.152 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.0001322/0.01573, allocations: 82.3 kB / 0.7878 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.01606, allocations: 277.6 kB / 0.7881 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01607, allocations: 1.094 kB / 0.7881 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.01612, allocations: 58.61 kB / 0.7881 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01634, allocations: 47.17 kB / 0.7882 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.01726, allocations: 0.5573 MB / 0.7887 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01737, allocations: 159.7 kB / 0.7889 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.0175, allocations: 87.36 kB / 0.7889 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.0175, allocations: 3.938 kB / 0.7889 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.004108/0.02161, allocations: 3.658 MB / 0.7925 GB, free: 4.266 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 > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.680560176260769]